Using the Job Completion Checker

In the following description, a job refers to either a batch job or a started task.

HCL Workload Automation for Z uses the job completion code to determine if an operation has completed normally. The code is either the highest return code of all completed steps or the return code of the last completed step, depending on what you have specified on the RETCODE keyword of the EWTROPTS statement. In some cases, however, success or failure cannot be determined from this return code alone.

In these cases, you can use the job completion checker (JCC) to determine if a job has ended normally. The JCC can scan the SYSOUT data set for a particular job, and then set the error status, depending on the results of this scan. Because the JCC has more information about the job, it is better equipped to decide whether a job has ended normally.

For a descriptio about how HCL Workload Automation for Z determines the next status of an operation when a job or started-task ends, see Determining the success or failure of a job.

Note: The JCC process logic is not applied when the failing job has been obtained by restarting an operation at step or job level and the failure is determined by the EQQCLEAN step ending with RC>=8. See also Determining the success or failure of a job.