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.
Statement | Keywords | Description |
---|---|---|
OPCOPTS | RECOVERY | Determines if JCL is checked for RECOVER statements when an operation ends in error |
RCLEANUP | HCL Workload Automation for Z performs cleanup before recovery starts if clean type is immediate | |
AROPTS | Specifies recovery options | |
EWTROPTS | STEPEVENTS | Specifies when HCL Workload Automation for Z creates events for ending job-steps |
RETCODE | Highest or last return code | |
JTOPTS | ERRRES | Operation status reset to A for these error codes. Recovery is not performed. |
HIGHRC | Perform recovery only if the return code is greater than HIGHRC | |
NOERROR | Error 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