COBOL/400 Language Help

Format 2 (Indexed and Relative Files)

Description
The CLOSE statement terminates the processing of volumes and files, with optional rewind and/or lock or removal, where applicable. You may execute it only for a file in an open mode.
Format 2 (Indexed and Relative Files Format)
 
          *---------------------------------*
          V                                 +
->->--CLOSE file-name-1-*---------------------*-------------------------><-
                      *----*------*---LOCK--*
                           *-WITH-*


[ Top of Page | Previous Page | Next Page | Table of Contents ]