Are #SCC statements valid with XPJOB to be able to set multiple condition code tests?
By utilizing the optional parmlib, you can use #SCC control cards with XPJOB.
When scheduling work to distributed machines via XPJOB, you can control which return codes (rc) are acceptable and which are not acceptable. XPJOBs consist of only one rc and you can set a job level rc which consist of one value when combining the COND and RO fields on the XPJOB screen. If multiple values are required, you will need to set the rc at the step level and this can be done by utilizing the optional parmlib field in conjunction with COND=0 and RO=#SCC.
The optional parmlib member will contains standard #SCC control statements as used in the traditional CA 7 mainframe JCL. The stepname field will be the CCI NODE NAME where the job is being sent to and since there is only one step in a XPJOB, we recommend you code asterick (*) n the stepname field.
In the above example all return codes except 8 and 16 are considered a GOOD completion.
TIP: If the #SCC statement is true, the job is considered abnormal termination.
As always, please contact CA Technologies support for CA 7 if you have further questions.