RREP: Retrieve WTOR IDs
The following statement shows the format of the call from the EXEC:
Following table lists the RREP parameters.
Parameter | Required? | Description |
|---|---|---|
SYSTEM | Yes | System ID for which to gather data. The value ALL means the same as no specification. All replies from a sysplex will be returned. |
Following is a list of return codes from RREP:
Return code | Description |
|---|---|
8 | Security failure |
16 | Received more than 10 WTORs |
Following table lists the variables returned by RREP in the LOCAL POOL.
Variable name | Type | Description |
|---|---|---|
RREPI(XXX) | Data | Reply number |
RREPN(XXX) | Data | JES number of task that issued WTOR |
RREPROL1 | Control | Number of output lines |
RREPT(XXX) | Data | type of task that issued WTOR (STC TSU JOB) |
RREP1(XXX) through RREP9(XXX) | Data | First nine words of message |
RREP10(XXX) through RREP12(XXX) | Data | Extended to twelfth word of the message |