The system applies the return code tests on the JOB COND parameter
against the return code, if any, produced by each step in the job.
To take advantage of this parameter, the return codes for each step
should have compatible meanings. For example, the COBOL compiler
and the linkage editor have compatible return codes:
- 4
- Minor errors were found, but a compiled program or load module
was produced. Execution may be successful.
- 8
- Major errors were found, but a compiled program or load module
was produced. Execution will probably not be successful.
- 12
- Serious errors were found. A compiled program or load module
was not produced.
Code the return code as follows:
- COND=(4,LT) if you want to continue processing
despite the minor errors. The job terminates only if the return code
of any step is greater than 4.
- COND=(4,LE) if you want to continue processing
only if no errors occur. The job terminates if the return code of
any step is greater than or equal to 4.