CL Command Reference - DSPRCDLCK

CL Command List > DSPRCDLCK Reference

Description:

The Display Record Locks (DSPRCDLCK) command allows you to show the current record lock status of a particular database physical file member. This command displays the lock status for a particular relative record number, or the lock status of all locked records in the member.


Examples:

DSPRCDLCK FILE(MASTER/PAYROLL) MBR(*FIRST) RCDNBR(1)
OUTPUT(*)

This command shows the lock status of relative record number 1, in the first member of the physical file named PAYROLL in the MASTER library.