Restart and cleanup
This chapter describes the restart and cleanup of jobs and started tasks running on z/OS environments. Unless otherwise stated, the description applies to both jobs and started tasks.
- Restarting an operation at the job-level or the step-level
- Cleaning up the associated data sets
- Ended-in-error operation list
- Operation list
- Operation displayed when you request to rerun an occurrence
- Step restart
- Job restart
- Start cleanup
- Start cleanup with AR
- Display cleanup
The restart function is closely connected to the cleanup and automatic recovery functions. See Data set cleanup and Planning for recovery and restart for an overview of these functions and a description of how to activate them.
Note that in EQQRCLSE you can also change the proposed value for the following field:
- EDIT JCL
- This field is applicable only to the STEP RESTART and JOB RESTART options. DEFAULT is the last value used in the ISPF dialog. To edit the JCL that will be resubmitted via the SR or JR options, you must set this field to YES.
To execute the Restart and cleanup function, the EQQCLEAN pre-step is added as the first step in the submitted JCL. This happens also when the cleanup actions are not triggered from ISPF but are started automatically by the Controller.
If the INCLUDE that contains the JOBLIB statement is nested within other INCLUDEs , you must add the most external INCLUDE to the SKIPINCLUDE list, as this is the only one visible to the JCL tailoring process.
This problem does not occur with expanded JCL because it does not contain INCLUDE statements.
- With PQ87904 APAR, when the EQQCLEAN step fails with RC>=8, then all subsequent steps in the job are forced to FLUSH. This causes the operation to be marked as Ended-in-error with the 'Status of operation on workstation' set to CLNP, whichever completion checking logic has been implemented.
- Same restrictions apply as for changing the operation status to ready by selecting option 6 (GENERAL) from the MODIFYING AN OPERATION IN THE CURRENT PLAN panel. In particular, a step or job restart request might imply a request to change to ready the status of an operation with conditional successors already started, completed, suppressed by condition, or ended in error. In this case the scheduler issues message EQQM208E. Only when rerunning an occurrence you might indirectly obtain this kind of change.