Upon return from this exit, the register contents must be:
- Register
- Contents
- 0
- Not applicable
- 1
- Address of the JQE for return codes of 8 and 12; otherwise not applicable
- 2-13
- Not applicable
- 14
- Return address
- 15
- A return code
A return code of:
- 0
- Tells JES2 that if any additional exit routines are associated with
this exit, call the next consecutive exit routine. If no additional exit routines
are associated with this exit, continue normal processing.
- 4
- Tells JES2 to ignore any other exit routines associated with this exit
and to continue normal processing.
- 8
- Tells JES2 to process a single request.
- 12
- Tells JES2 to process a multiple request.
- 16
- Tells JES2 that the exit routine has done all the processing requested.
HASPSTAC returns a code of 0.
- 20
- Tells JES2 that the job is not found. HASPSTAC returns a code of 4.
- 24
- Tells JES2 that an invalid combination was requested. HASPSTAC returns
a code of 8.
- 28
- Tells JES2 that jobs with the same job name were found. HASPSTAC returns
a code of 12.
- 32
- Tells JES2 that the status buffer is too small to hold all the data
requested. HASPSTAC returns a code of 16.
- 36
- Tells JES2 that the job was not queuing because it is on the output
queue. HASPSTAC returns a code of 20.
- 40
- Tells JES2 that an invalid cancel request was made. HASPSTAC returns
a code of 28.
Note: RC 12 – 40 are only valid for this exit
when called from label STCZEXIT (that is, R0=0 or 4 only).
- 44
- Tells JES2 that the request should be failed for security reasons and
SSCSAUTH should be returned to the SSI caller.
The returned code causes the correct message to be presented to the TSO/E
interface. For multiple status requests (RC=12), register R1 must be returned
with a zero to end the processing and cause the messages to be issued.