command to force ok.

Tools and several solutions to manage Control-M products
Post Reply
User avatar
nakul
Nouveau
Nouveau
Posts: 29
Joined: 09 May 2010 12:00

command to force ok.

Post by nakul » 16 Jun 2011 1:40

what is the command to force ok the job???

User avatar
philmalmaison
Nouveau
Nouveau
Posts: 1148
Joined: 08 Jun 2007 12:00
Location: Ile de France

Post by philmalmaison » 16 Jun 2011 4:13

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

User avatar
nakul
Nouveau
Nouveau
Posts: 29
Joined: 09 May 2010 12:00

Post by nakul » 17 Jun 2011 7:42

thanks..

User avatar
nakul
Nouveau
Nouveau
Posts: 29
Joined: 09 May 2010 12:00

Post by nakul » 22 Jun 2011 8:42

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.

willvan

Post by willvan » 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).

Post Reply