Restarting ended-in-error operations managing cleanup action
About this task
EQQRCLSE-------------- OPERATION RESTART AND CLEANUP ------------------------ Option ===> Application : PAYDAILY 00/12/13 20.36 Operation : CPUA 1 Jobname and jobid : PAYDAILY JOB01475 Expanded JCL : N Clean Up Result : Edit JCL ===> N Edit JCL before Restart (SR/JR only) Select one of the following: 1 STEP RESTART Request a Step Restart 2 JOB RESTART Request a Job Restart 3 START CLEANUP Request Cleanup 4 DISPLAY CLEANUP Display Cleanup result
From this panel you choose among the restart and cleanup functions. For step restart, see Restarting an operation from a certain step. Also, refer to Restart and cleanup for more information about setting cleanup options.
- Select job restart or step restart for an operation. If cleanup is required, confirm that the cleanup type is other than none.
- For step restart only, the Step RESTART SELECTION panel is displayed. Enter the GO command, and the MODIFYING THE CLEANUP ACTION panel is displayed.
- In the MODIFYING THE CLEANUP ACTIONS panel, enter the GO command. If you specified Y (yes) for the Edit JCL option in the OPERATION RESTART AND CLEANUP panel, you can correct the JCL. The CONFIRM RESTART panel, shown in EQQMERTP - Confirm restart, is displayed.
The start cleanup options can be requested only for an operation with the cleanup type set to automatic, immediate, or manual. You can also issue a job restart or step restart to perform the cleanup together with the job run instead of separately before the run.
EQQMERTP ---------------------- CONFIRM RESTART ------------------------------- Enter Y in the command field to restart the operation. The operation status will be set to Ready. Enter N to reject the restart request. Application : PAYDAILY Operation : CPU1 20 Input arrival : 97/02/13 12.00 Restart step : Expanded JCL will be used : N Error code ===> S806 User data ===> ________________ Reason for restart ===> __________________________________________________ __________________________________________________ __________________________________________________ __________________________________________________ __________________________________________________ Command ===> Scroll ===> PAGE
When you restart a job, you can give a reason, which is written to the track log for audit purposes.
- Resets the operation status to ready.
- Initiates any cleanup actions.
- Resubmits the operation when all conditions are met.
If you cancel out of restart and cleanup, the statuses are reset to their original values.