Recovery actions from the Modifying Current Plan panel

A job or started task that ends in error is automatically scanned for a RECOVER statement that corresponds to the reported error.

It is possible to invoke this recovery scan manually from the HANDLING OPERATIONS ENDED IN ERROR panel in the MODIFYING THE CURRENT PLAN panel. Selecting an operation with the row command ARC starts the scan.

If you invoke recovery from the MODIFYING THE CURRENT PLAN panel, any time restrictions on the RECOVER statements are overridden. That is, recovery occurs immediately, regardless of the TIME parameter that is specified on the RECOVER statement. The RECOVER statement that is invoked matches the original error condition of the operation, as would be the case if the scan were invoked automatically.

It is also possible to specify a RESTART=N parameter on a RECOVER statement and then cause a RECOVER statement scan to take place. This lets you see the effect that invoking the RECOVER statement would have, without causing the operation to be resubmitted. The JCL created in this way will be the JCL that HCL Workload Automation for Z uses if the operation is rerun. To get back to the original JCL, you must manually edit the JCL to undo the effects of the recovery statement. This includes amending the RECOVER statement, because it will have been automatically changed to a comment statement. See Message and comment statements. If you want the original job from EQQJBLIB, an easier method is to delete all the job statements and press PF3 (End) to save, forcing HCL Workload Automation for Z to take a fresh copy from the library.