Retrieve User Print Info (RTVUSRPRTI)
Where allowed to run: Compiled CL program or interpreted REXX (*BPGM *IPGM *BREXX *IREXX) Threadsafe: No |
Parameters Examples Error messages |
The Retrieve User Print Information (RTVUSRPRTI) command is used in a CL program to retrieve the user print information value associated with a user profile. The values are returned in the specified CL variables for the desired user.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
USER | User | Name, *CURRENT | Required, Positional 1 |
RTNTEXT | CL var for RTNTEXT | Character value | Required, Positional 2 |
Top |
User (USER)
Specifies the user whose user print information is being retrieved.
This is a required parameter.
- *CURRENT
- The user profile under which the current job is running is used.
- name
- Specify the name of the user whose user print information is being retrieved.
Top |
CL var for RTNTEXT (RTNTEXT)
Specifies a 10-character CL variable used to retrieve the user print information of the user profile for which information is requested.
This is a required parameter.
Top |
Examples
RTVUSRPRTI USER(FEIST) RTNTEXT(&TEXT)
This command retrieves user print information for user profile FEIST and stores it in CL program variable &TEXT.
Top |
Error messages
*ESCAPE Messages
- CPF2204
- User profile &1 not found.
- CPF2217
- Not authorized to user profile &1.
- CPF2247
- Internal security object not available. Reason code &1.
- CPF34D5
- CCSID translation error.
Top |