Troubleshooting
Problem
This document describes why a CPF2213 message is received when using the CHGUSRPRF command.
Resolving The Problem
When I use the Change User Profile (CHGUSRPRF) command, I receive message CPF2213 - Not able to allocate user profile &1. When I look at the locks holding the profile with the Work with Object Locks (WRKOBJLCK) command, there are no locks. How can I find what is holding a lock on the user profile?
The QSPTLIB tools contains an additional command, Display Lock Status (DSPLCKSTS), that might find the object lock. The command string to use to locate the job holding the lock is as follows:
DSPLCKSTS JOB(*ALL) OBJ(QSYS/PROFILE) OBJTYPE(*USRPRF)
The QSPTLIB tools contains an additional command, Display Lock Status (DSPLCKSTS), that might find the object lock. The command string to use to locate the job holding the lock is as follows:
DSPLCKSTS JOB(*ALL) OBJ(QSYS/PROFILE) OBJTYPE(*USRPRF)
Method 1(Preferred):
The QSPTLIB can be obtained by using Option 22 from the GO MG menu on the QMGTOOLS library. For information on how to download QMGTOOLS, refer to dcf # N1011297 or in the following link:
http://www.ibm.com/support/docview.wss?uid=nas8N1011297
http://www.ibm.com/support/docview.wss?uid=nas8N1011297
Method 2:
This tool is now available as a command on a new menu provided by the PTF SE06946 that provides the ECS software support library for V5R2M0. The PTF was changed on 03/01/2004 to provide this new function. For V5R3M0, the PTF is SE16633. For V5R4M0, the PTF is SE24152. For V6R1M0 the PTF is SE32507. For V7R1M1 is SE45610. For current releases, use Method 1.
The QSPTLIB can also be downloaded from the following link:
Download site: http://public.dhe.ibm.com/services/us/igsc/qsptlib/
[{"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":"6.1.0"}]
Historical Number
334101534
Was this topic helpful?
Document Information
Modified date:
15 September 2020
UID
nas8N1016141