executing Orch admin

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Edwink
Participant
Posts: 47
Joined: Sat Aug 19, 2006 4:57 am
Location: Chennai

executing Orch admin

Post by Edwink »

friends,
i am trying to run orchadmin command in the server routine...
but it is not executing,instaed failing with error orchadmin not found
i have set the config file path, orchhome path in the administor(not in .dsenv)
please advice
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Need to set it in dsenv file. Also, how are you testing the routine, via the test button or by executing the job?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You also need to set PATH to include ${PXHOME}/bin or to specify the full pathname of the orchadmin command.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Edwink
Participant
Posts: 47
Joined: Sat Aug 19, 2006 4:57 am
Location: Chennai

Post by Edwink »

Thanks Guys,
i was testing with test button in routine....
As you adviced I added pxengine/bin to the $path...
it throws the error APT_config_file not found,but there is entry for $APT_CONFIG_FILE in administator.
i tried adding $APT_CONFIG_FILE in dsenv file it works fine...
but one doubt in this , we have different projects in our server..each project has their own config file...if i set APT_CONFIG_FILE in dsenv
can you help me in soving this?
Edwink
Participant
Posts: 47
Joined: Sat Aug 19, 2006 4:57 am
Location: Chennai

Post by Edwink »

help please...
thanks..
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Since the dsenv is used for all projects you will get that default assignment for APT_CONFIG_FILE for all projects. But you can (and should) make the APT_CONFIG_FILE a parameter to all of your PX jobs and specify a different default value. You may also specify a project level default in the Administrator.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

For test purposes you might even like to set APT_CONFIG_FILE explicitly in the routine under test.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply