RREPRX: Retrieve WTOR IDs
The RREPRX EXEC can be used to retrieve the number and text of all outstanding WTORs.
The following statement shows the format of the call from the EXEC:
Table 1 lists the RREPRX parameters.
Table 1. RREPRX parameters
Parameter | Required? | Description |
---|---|---|
SYSTEM | No | System ID for which to gather data. The value ALL means the same as no specification. All replies from a sysplex will be returned. If no system ID is given, the default if the local system ID. |
Following is a list of return codes from RREPRX:
Return code | Description |
---|---|
0 | Normal completion |
4 | No outstanding replies found |
8 | Security failure |
16 | Error detected. RREPRX EXEC exited. |
Table 2 lists the variables returned by RREPRX in the LOCAL POOL.
Table 2. Variables returned by RREPRX in the LOCAL POOL
Variable name | Type | Description |
---|---|---|
RREPROL1 | Control | Number of output lines |
RREPS.X | Data | The system ID of the issuer, x = line number |
RREPT. X | Data | Type of task, STC, TSU, JOB, ASID or NULL for JES3. NULL if task was started before JES |
RREPN.X | Data | JES job number of the task or job name if JES3 Null if task was started before JES |
RREPI.X | Data | The reply number |
RREP.X.1-12 | Data | The first 12 words of the message |
To run RREPRX before JES initialization, one of the following JES versions must be provided by using a shared variable in BBPARM member BBIVARxx:
- RREPJES = JES2
- RREPJES = JES3