Selection parameters

These selection parameters specify the error situations that the RECOVER statement handles:
ERRSTEP
Restricts the RECOVER statement to be valid only for those steps specified.
Note: The automatic recovery function acts on information received about a job or started task failing step, but, because a job or started task might have several potential failing steps, it is the RETCODE keyword of the EWTROPTS statement that determines which of these steps should be passed to the automatic recovery function. If this failing step corresponds to a step specified by ERRSTEP, automatic recovery occurs.

HCL Workload Automation for Z supports this parameter only for jobs on host systems. This parameter is not supported when the EWTROPTS STEPEVENTS(ABEND) option is used.

JOBCODE
Restricts the RECOVER statement to be valid only for those job completion codes and return codes specified.
STEPCODE
Restricts the RECOVER statement to be valid only for those step return codes specified. HCL Workload Automation for Z supports this parameter only for jobs on host systems. This parameter is not supported when the EWTROPTS STEPEVENTS(ABEND) option is used.
TIME
Restricts the RECOVER statement to be valid only in the time range specified.
Note: Review the EXCLUDECC and EXCLUDERC keywords of the AROPTS statement, which specify codes for which no automatic recovery is done. For information about the AROPTS statement, see Customization and Tuning.