VMS Help  —  COBOL  PROCEDURE_DIVISION, UNLOCK
  The UNLOCK statement removes record locks from a record or all currently
  locked records in the file.

  Format -

   UNLOCK file-name [ RECORD      ]
                    [ ALL RECORDS ]

1  –  file-name

  is the name of a sequential, relative, or indexed file described in the
  Data Division.
Close Help