|
Reference Type: Supported, Category: Host Files, ICR#: 2320
The CLOSE^%ZISH API closes a Host file that was opened with the OPEN^%ZISH(): Open Host File API.
CLOSE^%ZISH(handle)
| handle: |
(required) Handle used when file was opened with the OPEN^%ZISH(): Open Host File API. |
| none. |
|
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")
|