WRKRPYLE (Work with System Reply List Entries)
WRKRPYLE Command syntax diagram
Purpose
The Work with System Reply List Entries (WRKRPYLE) command can be used to display or print all the reply entries currently in the system message reply list. The system reply list contains replies that are automatically sent in response to inquiry messages.
The following information is shown for each reply in the system reply list:
- Sequence number
- Message ID
- Reply
- Dump indication
- Compare value
- Compare start position
From this display the user can add, change, or remove individual reply list entries.
The reply list is only used when an inquiry message is sent by a job that has the inquiry message reply attribute of the system reply list specified (*SYSRPYL is specified on the INQMSGRPY parameter). The INQMSGRPY attribute can be changed with the CHGJOB command.
The user can add reply list entries with the Add Reply List Entry (ADDRPYLE) command. Specific attributes of a reply list entry can be changed with the Change Reply List Entry (CHGRPYLE) command. Each reply list entry remains in the list until it is removed by the Remove Reply List Entry (RMVRPYLE) command.
Optional Parameters
- OUTPUT
- Specifies whether the reply list entries are printed or displayed. If the job is a batch job or if *PRINT is specified, the system reply list is listed in the output file. More information on this parameter is in commonly used parameters.
*: Output requested by an interactive job is shown on the display. Output requested by a batch job is printed with the job's spooled output.
*PRINT: The output is printed with the job's spooled output.
Example for WRKRPYLE
WRKRPYLE OUTPUT(*PRINT)This command allows the user to print the entries in the system reply list.
Error messages for WRKRPYLE
*ESCAPE Messages
- CPF2435
- System reply list not found.
- CPF2557
- System reply list damaged.
- CPF2558
- System reply list currently in use.
- CPF9845
- Error occurred while opening file &1.
- CPF9846
- Error while processing file &1 in library &2.
- CPF9847
- Error occurred while closing file &1 in library &2.