UNLOCK


8.2

 

The UNLOCK instruction unlocks all records in the files specified. The instruction uses the following format:

 

 

[label]

UNLOCK

{filelist}

 

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:

  1. Each file specified must be opened in a record locking mode.

  2. All records in all files listed in the statement are unlocked.

  3. Record Locking is not available when using the PLBCE runtime.

 

 

See Also: File and Record Locking, Disk I/O Instructions

 



PL/B Language Reference TRANSACTION UPDATE, UPDATAB