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

Input/output built-in functions

The input and output built-in functions allow you to determine the current state of a file.

Table 53. Input/output built-in functions
Function Description
COUNT Returns the number of data items transmitted during the last GET or PUT
ENDFILE Indicates if a file is open and end-of-file has been reached for it
FILEDDINT Returns a value for the designated file attribute
FILEDDTEST Returns the value 1 if the designated attribute applies to the specified file
FILEDDWORD Returns a character string for the designated file attribute
FILEID Returns a system token value for a file
FILEOPEN Indicates if a file is open
FILEREAD Reads from a file
FILESEEK Changes the current file position to a new location
FILETELL Returns a value indicating the current position of a file
FILEWRITE Writes to a file
LINENO Returns the current line number associated with a print file
PAGENO Returns the current page number associated with a print file
SAMEKEY Indicates if a record is followed by another with the same key

Terms of use | Feedback

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