COBOL Manual for TNS/E Programs (H06.03+)
Procedure Division Verbs
HP COBOL Manual for TNS/E Programs—520347-003
9-184
READ for Random or Dynamic Access
file-name
is the file description name of the file to retrieve a record from.
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.
file-nameREAD
data-name
RECORD
INTO
WITH
TIME LIMIT wait-time
imperative-stmt-2
END-READ
LOCK
NOT INVALID
KEY
imperative-stmt-1INVALID
KEY
KEY key
IS
VST202.vsd










