orchadmin

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
sankar.td
Participant
Posts: 42
Joined: Fri Jul 25, 2008 3:53 am
Location: pune
Contact:

orchadmin

Post by sankar.td »

I am getting the following error when trying use the orchadmin command line utility.
I am working on the Windows server 2003 o/s.

"The environment variable APT_ORCHHOME can not be empty.
Please assign it to the proper directory in the DataStage PX install area."

Could you pls tell me what might be the problem?
throbinson
Charter Member
Charter Member
Posts: 299
Joined: Wed Nov 13, 2002 5:38 pm
Location: USA

Post by throbinson »

You need to define the proper path for $APT_ORCHHOME. I'm not sure what it would be for Windows but here's my UNIX;
dev:echo $APT_ORCHHOME
/etl/dev/DataStage/PXEngine
dev:/ADM/oracle/home/z901464:
You need to find where your PXEngine folder resides on your DS Server and map the environment variable $APT_ORCHHOME to it.
sankar.td
Participant
Posts: 42
Joined: Fri Jul 25, 2008 3:53 am
Location: pune
Contact:

Post by sankar.td »

I am aware of the process for Unix.
But the similar process is not working in Windows. I am not so sure if I am missing anything.
I have tried setting the $APT_ORCHHOME using the SET command and also in different ways by includig them in Windows Env Variable list (I don't have much experience in working on Windows server) etc.
But none of them seems to be working.
And also I am not able to find the dsenv file also.

So can anybody advise how to setup this?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There's no dsenv file on a Windows server, so everything is via environment variables. Not sure, but I think you need to reboot the server after adding new ones. :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
singhald
Participant
Posts: 180
Joined: Tue Aug 23, 2005 2:50 am
Location: Bangalore
Contact:

Post by singhald »

if any inone still facing the issue,

can add below two environement without pre-fixing $ to variable in user defined enviorment variable

APT_CONFIG_FILE=C:/Ascential/DataStage/Configurations/2Node.apt
APT_ORCHHOME=C:/Ascential/DataStage/PXEngine

steps 1- goto control pannel ->system propertise -> advance - environment variables - user defined variable -> now set above two environment variables-

Note- path name could be differe
Regards,
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

singhald wrote:if any inone still facing the issue,

can add below two environement without pre-fixing $ to variable in user defined enviorment variable

APT_CONFIG_FILE=C:/Ascential/DataStage/Configurations/2Node.apt
APT_ORCHHOME=C:/Ascential/DataStage/PXEngine

steps 1- goto control pannel ->system propertise -> advance - environment variables - user defined variable -> now set above two environment variables-

Note- path name could be differe
Which one do you think will be used when a job runs - the one set via this method or the one set in the Administrator client?

It might be a better approach to set them in the user's startup script.
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