How to know ORDERNO from ORDERID

Tools and several solutions to manage Control-M products
User avatar
fyot
Nouveau
Nouveau
Posts: 736
Joined: 26 Apr 2005 12:00
Location: PARIS
Contact:

How to know ORDERNO from ORDERID

Post by fyot » 11 Sep 2007 6:11

Many times when you want to check a Job ordered in Control-M Database you need to know ORDERNO.

So, from Control-EM you can see only through ACTIVE Tab, the ORDER ID as '131td'
To translate ORDER ID to the OREDERNO here is a very usefull command under unix.

Using Control-M Server account try the following command

p_36 [ORDER ID]

example : p_36 131td
result = 1821937

1821937 is the value for ORDERNO

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 11 Sep 2007 6:18

Yes fyot,
and an example of when P_36 utility of conversion is used is when you want to remove white jobs.
If you want to identify a job in the AJF table from "order_id" you must use P_36.

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

Post by philmalmaison » 11 Sep 2007 6:26

whouaaaaa cool

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 11 Sep 2007 6:38

What happens Phil?
Are you well ?

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

Post by philmalmaison » 11 Sep 2007 6:59

no no this is new for me (p_36) so it is cool

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 12 Sep 2007 6:19

The "P_36" is a utility that is in the path: Control-ServerInstall/Ctm/Exe.

Convert numbers from 36 base to decimal base.
In controlM the identifier ORDERID is in 36 base, but in the AJF table of the DB_server the ODERNO column is 10 base (integer).

vassi168

Post by vassi168 » 17 Sep 2007 8:23

And with p_36 "*36 base number" you can convert the ORDERNO to the ORDERID

User avatar
sharas
Nouveau
Nouveau
Posts: 76
Joined: 13 Nov 2007 12:00
Location: Hyderabad
Contact:

Post by sharas » 15 Nov 2007 2:51

you can just find the BASE converters on browser.


Just search for a string "base 36 converter" you will get many links you can get your ORDER ID's of base 36 coverted to ORDER NO of base 10

Blokie

Post by Blokie » 23 Apr 2008 12:55

I've used it and confirm it's really whizzy - especially to find jobs to be deleted to tidy up the GUI.

User avatar
sharas
Nouveau
Nouveau
Posts: 76
Joined: 13 Nov 2007 12:00
Location: Hyderabad
Contact:

awesome

Post by sharas » 23 Apr 2008 1:17

good job blokie!!!

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 23 Apr 2008 2:02

sharas wrote:you can just find the BASE converters on browser.
Just search for a string "base 36 converter" you will get many links you can get your ORDER ID's of base 36 coverted to ORDER NO of base 10
Ok, but the "P_36" is an utility that is present in the installation and used easily in scripts and shell.

User avatar
sharas
Nouveau
Nouveau
Posts: 76
Joined: 13 Nov 2007 12:00
Location: Hyderabad
Contact:

Post by sharas » 23 Apr 2008 2:20

yes , I agree , but this is the way for those who dont have access on Control-M server.

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 23 Apr 2008 2:29

OK, but is sufficent an agent on the controlm server machine,
and is important that there is istalled for the "controls jobs".

User avatar
sharas
Nouveau
Nouveau
Posts: 76
Joined: 13 Nov 2007 12:00
Location: Hyderabad
Contact:

Post by sharas » 23 Apr 2008 2:32

hey, I did not understand that, can you please explain a little clearly...

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 23 Apr 2008 2:47

sharas wrote:hey, I did not understand that, can you please explain a little clearly...
Sorry:
I want to say:
you can run the P_36 utility in a JOB that have NODE ID = "server machine"
(if there is an agent installed on it, the 6.3 version there is by default and i suggest this configuration).

Post Reply