CHGUSRPRTI (Change User Print Information)
CHGUSRPRTI Command syntax diagram
Purpose
The Change User Print Information (CHGUSRPRTI) command changes the user print information for a particular user by altering the user defined text value within the system.
Optional Parameters
- USER
- Specifies the name of the user whose print information is being changed.
*CURRENT: The user profile that is currently running is used.
user-name: Specify the name of the user whose print information is being changed.
- TEXT
- Specifies the text that briefly describes the print information. More information on this parameter is in Commonly used parameters.
This text is retrieved for the current user when spooled files are created and can be displayed using the Work with Spooled File Attributes (WRKSPLFA) command.
*SAME: The value does not change.
*BLANK: Text is not specified.
'description': Specify a maximum of 100 characters of text to describe the user print information.
Example for CHGUSRPRTI
CHGUSRPRTI USER(FEIST) TEXT('DEPT. 456 P.O. BOX 123')This command changes the user print information for user profile FEIST. The user print information is changed to "DEPT. 456 P.O. BOX 123."
Error messages for CHGUSRPRTI
*ESCAPE Messages
- CPF0011
- Error detected by prompt override program.
- CPF2204
- User profile &1 not found.
- CPF2213
- Not able to allocate user profile &1.
- CPF2217
- Not authorized to user profile &1.
- CPF2225
- Not able to allocate internal system object.
- CPF2247
- Internal security object not available. Reason code &1.
- CPF34D2
- User print information not changed for user &1.
- CPF34D5
- CCSID translation error.