The UNLOCK statement releases all record locks held by the run unit on a named file.
General Format
Syntax Rule
- File-name must occur in the SELECT statement of the file control entry.
General Rules
- The file referenced by file-name must already be opened with the OPEN statement.
- The UNLOCK statement releases all record locks held by the run unit on a named file.