VMS Help  —  COBOL  PROCEDURE_DIVISION, READ  2format_random_dynamic
  For randomly accessed files, READ makes a specified record available.

  Format 2 -

   READ file-name RECORD [ INTO dest-item ]

       [ WITH [ NO ] LOCK       ]
       [ REGARDLESS OF LOCK     ]
       [          { UPDATERS  } ]
       [ ALLOWING { READERS   } ]
       [          { NO OTHERS } ]

       [ KEY IS key-data ]

       [ INVALID KEY stment ] [ NOT INVALID KEY stment ]

       [ END-READ ]
Additional Information: explode extract

file-name
dest-item
key-data
stment
Close Help