Automatic recovery and restart

When automatic recovery (AR) actions require that an operation is rerun, consider that the following situation occurs. This is important to define the appropriate recovery statement (for example, using unique step names).
If the operation is a job
The operation is rerun by inserting the parameter RESTART=stepname in the JOB statement, where stepname is the value set in the RESSTEP parameter. When a job restart is requested, the RESTART parameter can be omitted.
If the operation is a started task
The operation is rerun by inserting the parameter COND=ONLY in all the steps that precede the restart step, unless a specific stepname is not identified (job restart).
Consider that the kind of tailoring required by the AR tasks (for example, add a step, delete a step, add the RESTART keyword, and so on) might cause the following limitations:
  • Nested procedures
  • INCLUDE statements
  • IF/THEN/ELSE/ENDIF statements
  • GDG data sets

The use of the Automatic Recovery parameters ERRSTEP, STEPCODE, or RESSTEP is mutually exclusive with the STEP option of the $EJ command introduced with z/OS V1.13. If both are used, the Automatic Recovery fails and the message EQQC047E is issued in the message log.