Work Objects by Primary Group (WRKOBJPGP)
Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC)
Threadsafe: NoParameters
Examples
Error messagesThe Work with Objects by Primary Group (WRKOBJPGP) command is used to manage objects for which a user is the primary group. This command displays objects for which a user is the primary group and performs the following:
- Edit object authority
- Delete the object
- Display object authority
- Rename the object
- Display the object's description
- Change the primary group of the object
Restrictions:
- You must have read (*READ) authority to the specified primary group profile.
Top
Parameters
Keyword Description Choices Notes PGP Primary group Name Required, Positional 1
Top
Primary group (PGP)
Specifies the group profile whose objects are to be worked with.
This is a required parameter.
- name
- Specify the name of the group profile.
Top
Examples
WRKOBJPGP PGP(GROUP01)This command displays the Work with Objects by Primary Group panel, showing a list of the objects for which group profile GROUP01 is the primary group.
Top
Error messages
*ESCAPE Messages
- CPF2204
- User profile &1 not found.
- CPF2213
- Not able to allocate user profile &1.
- CPF2217
- Not authorized to user profile &1.
Top