Example of step restart
Continuing with the JCL example, you accept the suggested best S3 and enter the GO command to confirm the selection. At this point, having selected in panel EQQRCLSE the option Edit JCL= YES, the edit JCL panel is shown. You fix the error causing the abend (IEFBR15) and confirm the restart by entering first GO, and then Y, in the final confirmation panel.
The job is run, adding another step named EQQCLEAN that will execute the return code simulation for steps S1, S2, and S3. Then, EQQCLEAN also causes the re-execution of step S4 and the execution of step S5.
The following messages are logged to the JES message log:
EQQCN00I START CLEANUP AND/OR RET-CODE SIMULATION PROCESS(ES).
EQQCN18I SNUM STEPNAME PROCNAME RC
EQQCN02I 002 S1 0004
EQQCN02I 003 S2 0000
EQQCN02I 004 S3 0000
EQQCN99I CLEANUP AND/OR RET-CODE SIMULATION PROCESS(ES)ENDED.
You select the step restart again, and the following panel is displayed:
From the panel you can see that the EQQCLEAN step has been
added. Steps S1, S2, and S3 are shown as simulated and steps S4, and
S5 as successfully executed.