Cyclic SAP Job

All questions about Control-M jobs definitions
Post Reply
jobschubse

Cyclic SAP Job

Post by jobschubse » 14 Mar 2013 5:43

Hi all,

we are running cyclic sap jobs and have a user requirement to start different postprocessing actions dependent on the count of job ended not_ok.

For example:
after 3 times in a row a cyclic sap job ended not_ok the action should be an sms in other cases an email.

thanks

Manfred

User avatar
ashwin080
Nouveau
Nouveau
Posts: 8
Joined: 12 May 2011 12:00

Post by ashwin080 » 21 Mar 2013 5:25

Use steps tab.
On RunCount= 2 stopcyclic(if cycles have to be stopped)
do email or page.
That should help.

jobschubse

Post by jobschubse » 21 Mar 2013 7:23

thanks for your reply.

I thought the runcount increasese independent of job runing ok or not_ok.

only the 3rd time the job ended not_ok the sms will be send.
in other cases ... 1st, 2nd, 4th and so on an email will be send.

so i need a technique to count the not_ok runs and reset the counter when a job ends ok.

regards manfred

Post Reply