common form of the read statementsformat 1 is the


Common form of the READ statements:

Format 1 is the common form of the READ statements.

Format 2 is used when the access mode is either random or dynamic. For illustration, assume REL-KEY is the names for the relative file and the relative key data item respectively. The statements below will read the 50th record from the file.

MOVE    50    TO    REL-KEY.

READ    REL-FILE RECORD INVALID-KEY   GO TO PARA-INVALID.

Format 3 of the read statement can be used whenever the access mode is dynamic and the records are to be read successively. 

 

Request for Solution File

Ask an Expert for Answer!!
COBOL Programming: common form of the read statementsformat 1 is the
Reference No:- TGS0174631

Expected delivery within 24 Hours