What you need for automatic recovery
About this task
Procedure
- Make sure that automatic recovery is turned on (use the Service Functions menu, which is option 9 from the main menu).
- Check the parameters on the controller AROPTS statement.
- Specify RECOVERY(YES) on the controller OPCOPTS statement.
- If you want automatic recovery to invoke
the cleanup function before rerunning a job, see also What you need for restart and cleanupNote: When cleanup is required, you must set the cleanup type to IMMEDIATE for automatic recovery to run.
- To use automatic recovery for a job running on a fault-tolerant agent, you must define it to use a centralized script. For information about the RECOVERY statement and how to define a centralized script, see HCL Workload Automation for Z: Customization and Tuning.