Displaying locked records using the Display Record Locks (DSPRCDLCK) command
You can use the Display Record Locks (DSPRCDLCK) command to display the current lock status (wait or held) of records in a physical file member.
The DSPRCDLCK command will also indicate what type of lock is currently held. Depending on the parameters you specify, this command displays the lock status for a specific record or displays the lock status of all records in the member. You can also display record locks from the Work with Job (WRKJOB) display.
Parent topic:
Locking shared data
Related concepts
Control language
Related reference
Display Record Locks (DSPRCDLCK) command