It is currently 28 Jun 2017 6:59


Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: 25 Mar 2014 3:05 
Offline
Nouveau
Nouveau
User avatar

Joined: 03 Sep 2011 8:00
Posts: 7
Hello All,

I would like to rerun a job when I receive a certain string in the sysout. Does the below look appropriate?

Code:
On 
Statement: *
Code: *Error 999*
DO
Rerun


Top
   
 Post subject:
PostPosted: 25 Mar 2014 6:27 
Offline
Nouveau
Nouveau
User avatar

Joined: 19 Jun 2013 8:00
Posts: 36
just if your error code includes the '*'

you could use some DO NOTOK before DO rerun to notice everytime the job gets error and execute again so you notice if the error is recurrent and stop the infinite bucle [manually] that you are creating


Top
   
 Post subject:
PostPosted: 27 Mar 2014 9:48 
Offline
Nouveau
Nouveau
User avatar

Joined: 03 Sep 2011 8:00
Posts: 7
Figured I would just use a max rerun of 2 which would only rerun the job once. The job already fails but exits with COMPSTAT=1 which it does for many types of errors but I only want to rerun in the case of two different types.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+10:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved