You can also use the Display Record Locks (DSPRCDLCK) command to display the current lock status (wait or held) of records for 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.