1 of 1 people found this helpful
To restart a mainframe job from a specific jobstep, using Control-M/EM cllient Monitoring domain (Active Job Schedule):
- Right click the failed job and select Properties.
- Fill in the Restart parameters sections as needed (jobstep or procstep)
I don't think a z/OS job can be defined with an ON-DO-ACTION to rerun itself from a particular jobstep. In our shop, rerunning a mainframe job from a particular jobstep always requires operator update/action.
If you use INCONTROL z/OS to manage mainframe jobs, then another Community member will have to advise--I'm not a mainframe job expert.
3 of 3 people found this helpful
Do you have Control-M/Restart installed? This offers "restart from failed step" functionality.
Go to page 18 of this guide for further info -
Nope mark !! thanks for your answer!!!
Control-M/Restart is great :-D
However, perhaps you could try using the RERUNMEM parameter to invoke a different JCL, or use a FORCEJOB to run another job with a subset of the JCL.
You could use the JCL Jobcard parameter RESTART and set it with an autoedit variable (be sure to reset after successful run).
You could possibly use JCL IF\THEN statements to control which step the job restarts from by setting a global autoedit variable (be sure to reset it after successful run!).
Or break the job up into separate jobs to allow auto rerun.
Hope one of these ideas helps.