You can get feedback from the internal reader:
- The internal reader signals the result of the job submission by
using special JES symbols.
- If the job was successfully submitted, the following special JES
symbols are set:
- SYS_CORR_LASTJOB
- This value is set to the job correlator of the job that was
just submitted, including the user portion if provided (refer to Getting feedback).
- SYS_LASTJOBID
- This value is set to the job identifier of the job that was
just submitted.
- If job submission failed, these SYS symbols are set to
empty values.