MF 

The UNLOCK Statement

The UNLOCK statement releases all record locks held by the run unit on a named file.

General Format


UNLOCK Statement

Syntax Rule

  1. File-name must occur in the SELECT statement of the file control entry.

General Rules

  1. The file referenced by file-name must already be opened with the OPEN statement.
  2. The UNLOCK statement releases all record locks held by the run unit on a named file.