Here are some questions on JOBFAILEVENT for JOB tracking model on CA Workload Automation ESP Edition system:
- Will it fire when the scenario match JOBABENDEVENT?
- How to avoid the triggers with non-zero return codes that should be considered as successful?
- Yes, this event is triggered when a job abends (JOBABENDEVENT scenario) or ends on non-zero condition codes.
- In order to have this event triggered only when the job fails or abends, add proper CCCHK statement in init parm/ESP Proc. For example, when "CCCHK RC(1:11) OK CONTINUE" is added to init parm, this event won't be triggered even when the job ends with non-zero return codes lower than 12. And When "CCCHK RC(1:4095) OK CONTINUE" is added to init parm, this event won't be triggered for non-zero return codes and behaves as JOBABENDEVENT, except it matches the criteria of failure on other CCCHK statements specified on APPL/JOB level.
Note: CCFAIL doesn't have the same effect as CCCHK.
N/A