VMS Help  —  COBOL  PROCEDURE_DIVISION, CLOSE
  The CLOSE statement ends processing of reels (or units) and files.  It
  can also perform rewind, lock, and removal operations.

  Format -

         {           [ { REEL } [ FOR REMOVAL    ] ] }
   CLOSE { file-name [ { UNIT } [ WITH NO REWIND ] ] } ...
         {           [ WITH { NO REWIND }          ] }
         {           [      { LOCK      }          ] }
Additional Information: explode extract

file-name
Close Help