CHGPDGPRF (Change Print Descriptor Group Profile)
CHGPDGPRF Command syntax diagram
Purpose
The Change Print Descriptor Group Profile (CHGPDGPRF) command changes a print descriptor name for a particular user by altering the print descriptor values in the system.
Restriction: The user must have *OBJMGT authority to use this command.
Required Parameters
- USER
- Specifies the name of the user whose print descriptor group (PDG) profile is being changed.
*CURRENT: The user profile that is currently running is used.
user-name: Specify the name of the user whose PDG profile is being changed.
- PDG
- Specifies the qualified name of the print descriptor group to be changed.
The name of the print descriptor can be qualified by one of the following library values:
*LIBL: All libraries in the job's library list are searched until the first match is found.
*CURLIB: The current library for the job is searched. If no library is specified as the current library for the job, the QGPL library is used.
library-name: Specify the name of the library to be searched.
print-descriptor-group-name: Specify the name of the print descriptor group being changed.
Other Single Value
*SAME: The value does not change.
- PRTD
- Specifies the name of the print descriptor within the print descriptor group that is used for the specified user profile.
*SAME: The value does not change.
print-descriptor-name: Specify up to 256 characters for the name of the print descriptor.
Example for CHGPDGPRF
CHGPDGPRF USER(JPSMITH) PDG(*LIBL/LETTERS) PRTD(DRAFT_QUALITY)This command changes the print descriptor for user profile JPSMITH. The print descriptor is changed to DRAFT_QUALITY in print descriptor group LETTERS.
Error messages for CHGPDGPRF
*ESCAPE Messages
- CPF2204
- User profile &1 not found.
- CPF2217
- Not authorized to user profile &1.
- CPF2247
- Internal security object not available. Reason code &1.
- CPF6D82
- PDG profile not changed for user &1.