Page 1 of 1

executing Orch admin

Posted: Fri May 23, 2008 11:06 am
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

Posted: Fri May 23, 2008 1:59 pm
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?

Posted: Fri May 23, 2008 3:52 pm
by ray.wurlod
You also need to set PATH to include ${PXHOME}/bin or to specify the full pathname of the orchadmin command.

Posted: Tue May 27, 2008 10:34 am
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?

Posted: Fri May 30, 2008 8:37 am
by Edwink
help please...
thanks..

Posted: Fri May 30, 2008 9:04 am
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.

Posted: Fri May 30, 2008 3:53 pm
by ray.wurlod
For test purposes you might even like to set APT_CONFIG_FILE explicitly in the routine under test.