IBM Support

QSYSARB is Locking a Library in the Library List

Troubleshooting


Problem

This document explains why the QSYSARB job has a library locked and how it can be released.

Resolving The Problem

This document explains why the QSYSARB job has a library locked and how it can be released.

QSYSARB locks all libraries in the system library list (QSYSLIBL) and user library list (QUSRLIBL) system values. Because these libraries are defined in the library list system values, locking the library ensures that they are not deleted.

To obtain an exclusive lock on the library (needed to delete or rename it), remove the library from the relevant system value. If the library was part of the QSYSLIBL system value, an IPL will be needed to release the lock after removing it from the library list. If the library was part of the QUSRLIBL system value, you should remove the library from the list and QSYSARB will release the lock. However, the library will still show up in the library list but the lock will be released. If this does not allow the delete or rename, it is most likely due to some other job holding a lock on the library. You should issue a WRKOBJLCK on the library to determine what else is holding a lock. Another option is to try to place the system in a restricted state.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Historical Number

23664909

Document Information

Modified date:
18 December 2019

UID

nas8N1017316