From ESMAC, you can query lock table statistics using the following DB Control command:
/DIS DB /LOCK
A lock table query from ESMAC returns the:
- Session ID
- Relative PDB number
- Lock type
- Database
- Relative byte address (RBA) of the locked database record