Release locked records

The system automatically releases a locked record when the record is updated or deleted, or when you read another record in the file. However, you might want to release a locked record without performing these operations.

Some high-level languages support an operation to release a locked record. See your high-level language topic collection for more information about releasing record locks.
Note: The rules for locking are different if your job is running under commitment control.
Related concepts
Commitment control