This DB2 for i service returns info similar to command Wrkobjlck.

The locked object

The lock info

The lock holder

Returns one row for every lock held for every object on the partition

Member locks included for files

View over all objects on the system .

Example :

Select * From Qsys2.Object_Lock_Info where Object_Name = ‘EMPMASTER’ and

Object_Schema = ‘MYLIB’