Automatic job recovery

When an operation ends in error, HCL Workload Automation for Z can perform recovery actions automatically or on request from the ended-in-error list in the MCP dialog. Recovery waits for cleanup action, if needed.

Table 1. Automatic-job-recovery-related parameters
StatementKeywordsDescription
OPCOPTSRECOVERY Determines if JCL is checked for RECOVER statements when an operation ends in error
RCLEANUPHCL Workload Automation for Z performs cleanup before recovery starts if clean type is immediate
AROPTS Specifies recovery options
EWTROPTS STEPEVENTSSpecifies when HCL Workload Automation for Z creates events for ending job-steps
RETCODE Highest or last return code
JTOPTS ERRRESOperation status reset to A for these error codes. Recovery is not performed.
HIGHRCPerform recovery only if the return code is greater than HIGHRC
NOERRORError codes that are not errors. Recovery is not performed.
NOERROR Error codes that are not errors. Recovery is not performed.
These job options in operation details override statement values:
  • ERROR TRACKING
  • HIGHEST RETURNCODE
  • RESTART AND CLEANUP