VMS Help  —  COBOL  PROCEDURE_DIVISION, READ  1format_sequential
  For sequentially accessed files, the READ statement makes the next logical
  record in the sequence available.

  Format 1 -

   READ file-name [ NEXT     ] RECORD [ INTO dest-item ]
                  [ PREVIOUS ]
                  [ PRIOR    ]

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

       [ AT END stment ] [ NOT AT END stment ]

       [ END-READ ]
Additional Information: explode extract

file-name
dest-item
stment
Close Help