Change User Print Info (CHGUSRPRTI)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

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.

Top

Parameters

Keyword Description Choices Notes
USER User Name, *CURRENT Optional, Key, Positional 1
TEXT User defined text Character value, *SAME, *BLANK Optional, Positional 2
Top

User (USER)

Specifies the user whose print information is being changed.

*CURRENT
The user profile under which the current job is running is used.
name
Specify the name of the user whose print information is being changed.
Top

User defined text (TEXT)

Specifies the text that briefly describes the print information. 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 enclosed in apostrophes to describe the user print information.
Top

Examples

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".

Top

Error messages

*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.
Top