Rerunning a job

Tools and several solutions to manage Control-M products
Post Reply
User avatar
Winsome
Nouveau
Nouveau
Posts: 16
Joined: 06 Jul 2010 12:00
Location: Chennai
Contact:

Rerunning a job

Post by Winsome » 27 Jul 2010 4:03

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

User avatar
nicolas_mulot
Nouveau
Nouveau
Posts: 149
Joined: 07 Jan 2010 12:00

Post by nicolas_mulot » 27 Jul 2010 11:58

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

User avatar
th_alejandro
Nouveau
Nouveau
Posts: 188
Joined: 26 Nov 2008 12:00
Location: Bogotá

recomendation

Post by th_alejandro » 28 Jul 2010 10:59

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.

Post Reply