IBMi

By kimot, 27 December, 2022
SELECT object_schema, system_object_name, member_lock_type,
       lock_state, lock_scope, job_name
FROM QSYS2.OBJECT_LOCK_INFO
WHERE system_object_schema = 'some_library' ;