Page 1 of 1
command to force ok.
Posted: 16 Jun 2011 1:40
by nakul
what is the command to force ok the job???
Posted: 16 Jun 2011 4:13
by philmalmaison
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
Posted: 17 Jun 2011 7:42
by nakul
thanks..
Posted: 22 Jun 2011 8:42
by nakul
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.
Posted: 22 Jun 2011 1:23
by willvan
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).