It is currently 22 Aug 2018 5:06


Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: command to force ok.
PostPosted: 16 Jun 2011 1:40 
Offline
Nouveau
Nouveau
User avatar

Joined: 09 May 2010 12:00
Posts: 29
what is the command to force ok the job???


Top
   
 Post subject:
PostPosted: 16 Jun 2011 4:13 
Offline
Nouveau
Nouveau
User avatar

Joined: 08 Jun 2007 12:00
Posts: 1148
Location: Ile de France
Hi,

ctmpsm -UPDATEAJF <orderid> <HOLD|FREE|DELETE|UNDELETE|RERUN|CONFIRM|FORCEOK|STATISTICS|CONDADDIN <cond> <date> <AND>|CONDADDOUT <cond> <date> <+|->|CONDDELIN <cond>|CONDDELOUT <cond>

Regards,
Philmalmaison


Top
   
 Post subject:
PostPosted: 17 Jun 2011 7:42 
Offline
Nouveau
Nouveau
User avatar

Joined: 09 May 2010 12:00
Posts: 29
thanks..


Top
   
 Post subject:
PostPosted: 22 Jun 2011 8:42 
Offline
Nouveau
Nouveau
User avatar

Joined: 09 May 2010 12:00
Posts: 29
If i need to schedule a job with this command and i want to force ok other jobs , so is there any way i can grep the order id of other jobs without giving manually beacuse without order id it wont work in a scheulded job.


Top
   
 Post subject:
PostPosted: 22 Jun 2011 1:23 
ctmpsm can be used in scripts. we use it to collect the failed jobs and then have an incident created in our incident management tool.

so first
ctmpsm -LISTJOB NOTOK

then you wil get output in a sort of table and with awk have the first colum printed that you can use to do the forceok.(in a while or for loop).


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 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