Setting error codes

This chapter describes how HCL Workload Automation for Z sets error codes to describe the outcome of running a computer workstation operation. You can also set error codes manually from the Ready List or from the MCP panel.

When a computer workstation operation (either a job or started task) ends, HCL Workload Automation for Z determines the conditions under which it ended by inspecting the error code of the operation. Depending on the value you specified for the RETCODE parameter of the EWTROPTS statement, HCL Workload Automation for Z either uses the return code from the last executed step of the job or the highest return code from any step.

You can specify whether you want certain errors for all jobs to be considered acceptable. You can also specify that particular errors for specific jobs are to be considered acceptable. Unless informed otherwise, HCL Workload Automation for Z will, upon identifying an error, set the operation status to E (ended-in-error).

Note: With PQ87904 APAR, when the error in a job is determined by the EQQCLEAN step, that is a step inserted into the job by the Restart and Cleanup function, HCL Workload Automation for Z sets the operation status to E, overriding any other specification