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

$$STATUS^%ZISH: Return End-of-File Status

Reference Type: Supported, Category: Host Files, Integration Agreement: 2320

Description

This extrinsic function returns the current end-of-file status. If end-of-file has been reached, $$STATUS^%ZISH returns 1. Otherwise, it returns 0.

Format

  $$STATUS^%ZISH

Input Parameters

none

 

Output

returns:

Returns:

  • 1—End-of-file (EOF) has been reached.

  • 0—End-of-file (EOF) has not been reached.

Example

D OPEN^%ZISH("INFILE","USER$:[ANONYMOUS]","ZXG.DAT","R") 
Q:POP
U IO F I=1:1 R X:DTIME Q:$$STATUS^%ZISH  S ^TMP($J,"ZXG",I)=X
D CLOSE^%ZISH("INFILE")

 


VA (Internet) / VA(Intranet) / OI / PD / Site Map / Terms of Use / VA Privacy Policy / Accessibility

Reviewed/Updated: August 26, 2011

If you have questions, need more information, or are having accessibility problems with this website, please contact us by E-Mail: Webmasters, Phone: 510-768-6800, or FAX: 510-768-6850.