Command reference / db
DSPRCDLCK
Display Record Locks
Shows the record lock status of a physical file member: all locked records, or one relative record number, with the jobs holding and waiting for them.
Allowed environments: *ALL.
Positional parameters: 3.
Parameters
FILE
Physical file
Specifies the physical file that contains the member whose record locks are shown.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Physical file
Physical file
Library
Library
Suggested / special values:
*LIBL, *CURLIB
MBR
Member
Specifies the member whose record locks are shown; *FIRST is the first member of the file.
Suggested / special values:
*FIRST
RCDNBR
Record number
Specifies a relative record number, or *ALL for every record currently locked in the member.
Suggested / special values:
*ALL
OUTPUT
Output
Specifies whether the output is displayed at the requesting work station or printed with the job's spooled output.
Allowed values:
*, *PRINT
Examples
DSPRCDLCK FILE(MASTER/PAYROLL) MBR(*FIRST) RCDNBR(1) OUTPUT(*)
Shows the lock status of relative record 1 in the first member of MASTER/PAYROLL.
Generated from os/cl/catalog/DSPRCDLCK.json and os/cl/help/DSPRCDLCK.json.