Automatic job recovery

When an operation ends in error, IBM Tivoli Workload Scheduler for z/OS 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 12. Automatic-job-recovery-related parameters
Statement Keywords Description
OPCOPTS RECOVERY Determines if JCL is checked for RECOVER statements when an operation ends in error
RCLEANUP IBM Tivoli Workload Scheduler for z/OS performs cleanup before recovery starts if clean type is immediate
AROPTS Specifies recovery options
EWTROPTS STEPEVENTS Specifies when IBM Tivoli Workload Scheduler for z/OS 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: