COBOL/400 Language Help
- Description
- The READ statement makes a record available to the program. For
sequential access, the READ statement makes the next logical record from a
file available to the object program. For random access, the READ
statement makes a specified record from a direct-access file available to the
object program. When the READ statement is executed, the associated
file must be open in INPUT or I-O mode. The READ statement has five
formats:
[ Top of Page | Previous Page | Next Page | Table of Contents ]
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.