Get the ORDERID from the JOBNAME

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
User avatar
disrupter
Nouveau
Nouveau
Posts: 1
Joined: 22 May 2013 12:00

Get the ORDERID from the JOBNAME

Post by disrupter » 22 May 2013 11:28

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

jobschubse

Post by jobschubse » 22 May 2013 4:32

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

User avatar
corbingravely
Nouveau
Nouveau
Posts: 2
Joined: 13 Dec 2013 12:00

Post by corbingravely » 05 May 2014 8:17

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

User avatar
jCarlos
Nouveau
Nouveau
Posts: 36
Joined: 19 Jun 2013 12:00

Post by jCarlos » 05 May 2014 11:56

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

Post Reply