Page 1 of 1

Get the ORDERID from the JOBNAME

Posted: 22 May 2013 11:28
by disrupter
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

Posted: 22 May 2013 4:32
by jobschubse
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

Posted: 05 May 2014 8:17
by corbingravely
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

Posted: 05 May 2014 11:56
by jCarlos
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