Kernel 8.0 APIs Banner
Office of Information and Technology (OIT) Banner
[skip navigation]

CLOSE^%ZISH(): Close Host File

Reference Type: Supported, Category: Host Files, ICR#: 2320

Description

The CLOSE^%ZISH API closes a Host file that was opened with the OPEN^%ZISH(): Open Host File API.

Format

  CLOSE^%ZISH(handle)

Input Parameters

handle:

(required) Handle used when file was opened with the OPEN^%ZISH(): Open Host File API.

Output

none.

 

Example

D OPEN^%ZISH("OUTFILE","USER$:[ANONYMOUS]","ARCHIVE.DAT","W")
Q:POP
U IO F I=1:1:100 W I,": ",ARRAY(I),!
D CLOSE^%ZISH("OUTFILE")