Cannot Delete Directory Entry or User Profile Resulting in Message CPF9071
This document describes a scenario to resolve message CPF9071 when deleting a directory entry.
Resolving the problem
In ADDDIRE, the user profile of BOBBY was incorrectly created with a user ID of BOBBIE.
An attempt was made to create a directory entry with a user profile of BOBBY and a directory entry of BOBBY.
The IBM System i system would not allow this.
Next, a user profile of TEST was created, and the previous directory entry for BOBBIE was changed to a
user profile of TEST. Now you are free to create the correct directory entry of BOBBY with a user profile
However, now it is not possible to delete the directory entry for BOBBIE or the user profile of TEST.
Message CPF9071 is issued for both attempted deletions.
QMSF was ended, and the directory entry still cannot be deleted. The
WRKOBJLCK OBJ(QUSRSYS/QAOKL03A) OBJTYPE(*FILE)
command was issued, and it was discovered that there was a QZLSFILE job owned by BOBBIE that
was holding a lock on QAOKL03A. That job was ended, and it was then possible to remove the directory
entry for BOBBIE and delete the user profile of TEST.
More support for:
Software version: Version Independent
Operating system(s): IBM i
Reference #: N1013941
Modified date: 05 May 2013