PWD Environment Variable warning
Moderators: chulett, rschirm, roy
PWD Environment Variable warning
I know this warning has been discussed before but can somebody tell exactly where do i make a change before.. because after every change in .dsenv to setup PWD ..i have to stop/start DSengine ... i am like a in the group
my Unix Admin has a question "Where is the environment variable PWD getting set on unix server for the dsadm user?"
main_program: Warning: the value of the PWD environment variable (/proj/dsadm/Ascential/DataStage/DSEngine) does not appear to be a synonym for the current working directory (/proj/dsadm/Ascential/DataStage/Projects/MIdvl). The current working directory will be used, but if your ORCHESTRATE job does not start up correctly, you should set your PWD environment variable to a value that will work on all nodes of your system.
my Unix Admin has a question "Where is the environment variable PWD getting set on unix server for the dsadm user?"
main_program: Warning: the value of the PWD environment variable (/proj/dsadm/Ascential/DataStage/DSEngine) does not appear to be a synonym for the current working directory (/proj/dsadm/Ascential/DataStage/Projects/MIdvl). The current working directory will be used, but if your ORCHESTRATE job does not start up correctly, you should set your PWD environment variable to a value that will work on all nodes of your system.
-
- Participant
- Posts: 53
- Joined: Wed Nov 05, 2003 8:36 am
that does not work .. tried inserting "/proj/dsadm/Ascential/DataStage/Projects/MIdvl" path in the variablesivatallapaneni wrote:Go Datatstage admin and select your project and on General tab click the environment button and goto user defined category and create a ENV variable called PWD with the correct path of the project. this should be the path where Project is sitting.
cheers,
Siva.
It does not matter if dsenv is a Korn shell or a Bourne shell. PWD is dynamically set in ksh. A DataStage job is not a Korn shell. It may execute a shell but it's current directory is the project directory. So you could fake it out. I doubt if any Korn shell will let you set PWD. If you need this value then run the pwd command. That is not hard.
Mamu Kim
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
i have qualitystage on the same server but different project..works fine after tweaking with all help from DSXchange...but the parallel extender warning abt PWD is still thereray.wurlod wrote:Be careful if using QualityStage, however, because it insists on Bourne shell. Its own "shell executable" is a symbolic link to /bin/sh.
someone described it before and the easiest way is
creating a Environment variable at project level from Administrator
---> PWD and give the default path pointing to the warning, in my case
--->/proj/dsadm/Ascential/DataStage/Projects/MIdvl
create PWD variable for each project and insert them in every job you develop..
creating a Environment variable at project level from Administrator
---> PWD and give the default path pointing to the warning, in my case
--->/proj/dsadm/Ascential/DataStage/Projects/MIdvl
create PWD variable for each project and insert them in every job you develop..