UNLOCK
8.2
The UNLOCK instruction unlocks all records in the files specified. The instruction uses the following format:
|
|
|
|
|
Where:
label
Optional. A Program Execution Label.
filelist
Required. A list of FILE, IFILE, and AFILE definitions or a FILELIST that contain records to unlock.
Flags Affected: none
Note the following:
Each file specified must be opened in a record locking mode.
All records in all files listed in the statement are unlocked.
Record Locking is not available when using the PLBCE runtime.
See Also: File and Record Locking, Disk I/O Instructions
![]() |