COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

file-name
is the file description name of the file to retrieve a record from.
NEXT
indicates that the next record is to be read (that is, the record after the current record, according
to the key of reference). NEXT is required for sequential reading of a relative, indexed, or
queue file whose access is DYNAMIC.
REVERSED
indicates that the prior record is to be read (that is, the record before the current record,
according to the key of reference). For restrictions, see Restrictions on Reversed.
data-name
is the identifier of the data area defined by your program to which the contents of the record
area are transferred after the read operation is complete.
data-name cannot be an index-name or the identifier of an index data item. The transfer is
conducted as if it were a move from an alphanumeric item to an alphanumeric item.
The INTO phrase is allowed only when one of:
Only one record is associated with file-name.
The record associated with file-name is defined as a data structure or as an elementary
alphanumeric item and data-name is either a data structure or an elementary
alphanumeric item.
406 Procedure Division Verbs