Coping with more complex problems

Sometimes,
  • A job creates a data set, and the NEW disposition gives an error on a rerun. HCL Workload Automation for Z handles problems like this with cleanup, (see Restart and cleanup). It can delete data sets that have been created by failing jobs.
  • You have to look at the SYSOUT data set of a job before you know how to recover it. For example, PAY06 might issue a message just when it starts to update the database. If that message is there, you know you have to run PAYRECOV. Use the job completion checker, described in Customization and Tuning, to scan SYSOUT for messages and set an error code that you can pass to automatic recovery or to the operator.