Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

ENDFILE

ENDFILE returns a '1'B when the end of the file is reached; '0'B if the end is not reached. If the file is not open, the ERROR condition is raised.

Read syntax diagramSkip visual syntax diagram>>-ENDFILE(x)--------------------------------------------------><
 
x
File reference.

ENDFILE can be used to detect the end-of-file condition for bytestream files; for example, files that require the use of the FILEREAD built-in function.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)