It is currently 24 Nov 2017 4:40


Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 22 May 2013 11:28 
Offline
Nouveau
Nouveau
User avatar

Joined: 22 May 2013 12:00
Posts: 1
Hello!

Any way to get the ORDERID from a JOBNAME using the ctmpsm.exe utility or any other utility?

I want to fetch the ORDERID to get the missing conditions of a specific job then add them using a .NET application

I already figured out the part to add a condition using ctmcontb.exe

Any input or documentation would help

Thank you


Top
   
 Post subject:
PostPosted: 22 May 2013 4:32 
Offline
Nouveau
Nouveau
User avatar

Joined: 06 Feb 2013 12:00
Posts: 14
Location: Frankfurt
Hi,

use "ctmpsm -listall" and grep of the JOBNAME.
Probably you have also to grep the right ODATE.

So, the first word of the output is the ORDERID.

regards
manfred


Top
   
 Post subject:
PostPosted: 05 May 2014 8:17 
Offline
Nouveau
Nouveau
User avatar

Joined: 13 Dec 2013 12:00
Posts: 2
I tried using "ctmpsm -listall" to get the order ID, but it is showing invalid input. Is there any other way to fetch the order ID and the details with the job name? I need the order ID in an urgent basis and guess any of you can help.





CORBIN
powered


Top
   
 Post subject:
PostPosted: 05 May 2014 11:56 
Offline
Nouveau
Nouveau
User avatar

Joined: 19 Jun 2013 12:00
Posts: 36
hmm well it works with ctmpsm

something like:

ctmpsm -listall | grep "Your_Job_Name"

**the jobname's shown with this utility is truncated at 17 characters length


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

All times are UTC+01:00


Who is online

Users browsing this forum: Google [Bot] 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