Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Reading records from line-sequential files

To read from a line-sequential file, open the file and use the READ statement. Your program reads one record after another in the same order in which the records were entered when the file was created.

Characters in the file record are read one at a time into the record area until one of the following conditions occurs:

related references  
OPEN statement (Enterprise COBOL Language Reference)  
WRITE statement (Enterprise COBOL Language Reference)


Terms of use | Feedback

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