Ask the Expert

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 first published in April 2001

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: