IBM Support

QSYSARB is Locking a Library in the Library List



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.

[{"Product":{"code":"SWG60","label":"IBM i"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Job and system Management","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.3;7.2;7.1;6.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SSC5L9","label":"IBM i 7.2"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"SSC52E","label":"IBM i 7.1"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"SSC3X7","label":"IBM i 6.1"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}},{"Product":{"code":"SSTS2D","label":"IBM i 7.3"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"","label":null}],"Version":"","Edition":"","Line of Business":{"code":"","label":""}}]

Historical Number


Document Information

Modified date:
18 December 2019