When coding multiple CCCHK statements what is the expected behavior.
Release : 11.4
Component : ESP WORKLOAD AUTOMATION
Job ended due to the following CCCHK statements coded for the job.
RC=4095 – STOP
and
RC=4095 – CONTINUE.
Using Multiple CCCHK Statements:
For a single job, you can specify up to 254 CCCHK statements. When several CCCHKs are active for a single job, their effect is cumulative (unlike the CCFAIL statement). For example, one CCCHK statement might indicate a particular action, and other statements might indicate some exceptional cases.
The Statement Search Order and Statement Scope:
When each step in a job or procedure ends and produces a condition code, CCCHK initialization parameters and statements are searched for a match in the following order:
1) CCCHK statements in a job definition (in the order they occur)
A matched statement affects the job that the statement is in.
2) CCCHK statements in an application definition (in the order they occur)
A matched statement affects all jobs in the application the statement is in.
3) CCCHK initialization parameters (in the order they occur)
A matched statement affects all jobs and applications in the ESP subsystem (including proxies in a master and proxy system).
When the first match is found, all other statements are ignored and the matching CCCHK is processed for the step.
CCCHK: Specify Job Processing Based on Condition Codes