Hi all,
I am using Contol M 6.4 version. My doubt here is , If I specify the below command in the Steps tab:
On Stmt * Code NOTOK
Do Rerun
And I do not check the 'Cyclic' box in Execution tab, Will the job rerun if it has abended? Or do i need to have the 'cyclic' box ticked to rerun the job even if i have mentioned it in Steps tab?
Thanks in advance
Rerunning a job
- nicolas_mulot
- Nouveau
- Posts: 149
- Joined: 07 Jan 2010 12:00
Winsome,
Do Rerun is not compatible with cyclic attribute.
Still, the Do rerun is controlled by the same rerun counter as the one used for cyclic job.
If you just specify DoRerun and forget to set any value in the "Maximum Reruns" parameter of the Execution tab, the job will not be rerun, and you will get a log message looking like this:
SL5215 ALL RERUNS HAVE BEEN PERFORMED. MAXRERUN = 0
So you must specify at least "1" in ""Maximum Reruns" and your job will be actuelly rerun.
You can as well control the interval between reruns using the "Set..." parm of the execution tab, same as for cyclic jobs
Cheers
Nicolas Mulot
Do Rerun is not compatible with cyclic attribute.
Still, the Do rerun is controlled by the same rerun counter as the one used for cyclic job.
If you just specify DoRerun and forget to set any value in the "Maximum Reruns" parameter of the Execution tab, the job will not be rerun, and you will get a log message looking like this:
SL5215 ALL RERUNS HAVE BEEN PERFORMED. MAXRERUN = 0
So you must specify at least "1" in ""Maximum Reruns" and your job will be actuelly rerun.
You can as well control the interval between reruns using the "Set..." parm of the execution tab, same as for cyclic jobs
Cheers
Nicolas Mulot
- th_alejandro
- Nouveau
- Posts: 188
- Joined: 26 Nov 2008 12:00
- Location: Bogotá
recomendation
It's not recommendable use the re-run option with cyclic jobs.
Another solution is create a single job, define the rerun option as you know but indicate the parameter maximum_rerun to prevent indefine cycles of re-execution in case of general errors.
Another solution is create a single job, define the rerun option as you know but indicate the parameter maximum_rerun to prevent indefine cycles of re-execution in case of general errors.