Problem solve Get help with specific problems with your technologies, process and projects.

Deleting a termed employee

When I am deleting a termed employee I am asked if I want to delete or move the users objects. What are these,...

where to they come from and how do you find them again if you move them to another user?

These are objects owned by this particular user profile. They are most likely owned by the user profile because the profile was created with OWNER(*USRPRF)...

Help text for the OWNER parameter of the CRTUSRPRF command says:

 The user profile that becomes the owner of objects that are created 
by the user associated with this profile.  The possible values shown
 o  *GRPPRF - The user's group profile becomes the owner            
 o  *USRPRF - The user's user profile becomes the owner     

Object ownership can also be transferred to other user via one of many
change commands:

    1. Change DLO Owner        CHGDLOOWN
    2. Change Object Owner     CHGOBJOWN 
    3. Change Owner            CHGOWN    ..... IFS files


Prior to deleting a user profile you can view a list of all the objects owned by it with the WRKUSRPRF command, Option 12.

If you transfer ownership of these objects to another user then use WRKUSRPRF Option 12 for that user to find the objects again.

A user profile cannot be deleted if it owns any objects other than a *MSGQ with the same name as the user profile.

I use WRKUSRPRF Option 12 to take a look at what a user profile owns before using Option 4 to delete it.

This was last published in April 2001

Dig Deeper on Performance

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.