It is currently 16 Aug 2018 12:18


Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 28 Jun 2010 2:55 
Offline
Nouveau
Nouveau
User avatar

Joined: 14 Mar 2007 12:00
Posts: 37
I am trying to come up with a report ( shell or sql) that will show jobs that have ENDED NOTOK consecutively for the last 3 runs.
However, I'm in a fix cause the last 3 runs could either be on

1. The Same ODATE ( for cyclic jobs)
2. Consecutive ODATE ( for DAILY jobs)
3. Weekly jobs ( ODATES between weeks)
4. MOnthly jobs ( ODATES across a month)

Can someone suggest some way of making a comparison while puling up this report that will ensure it include jobs with all the above frequencies ?

Thanks,
Sandeep


Top
   
 Post subject:
PostPosted: 05 Jul 2010 9:32 
Offline
Nouveau
Nouveau
User avatar

Joined: 03 May 2010 12:00
Posts: 41
This will list all ended notok... you can grep for your own job name...

ctmlog listmsg "5134" 20100120 0000 20100705 0000| grep <job>

you can then script based on order ID, jobname, time/date.

output:
|Date|Time|Jobname |Order|SS|MID |Message


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
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