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.
So where is the PWD environment set for Parallel extender.. to get rid of that warning ...
in some earlier posts it was mentioned to change from#!/bin/ksh to #!/bin/sh ..in dsenv file .that did not help ..
any suggestions ???
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.
sivatallapaneni 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.
that does not work .. tried inserting "/proj/dsadm/Ascential/DataStage/Projects/MIdvl" path in the variable
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.
Actually, you should ensure that DataStage starts in KSH by ensuring that the startup script ($DSHOME/etc/ds.rc or something like that) have .../ksh set instead of shell.
ray.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.
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 there
Whoops. Yeah. Other way around then. I wasn't so sure about it -- having to go with memory. Life is not good when you don't have a local server to test with.
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..