dsjob command - error while using ./dsenv

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
praveensuss
Participant
Posts: 12
Joined: Thu Sep 20, 2007 2:22 pm

dsjob command - error while using ./dsenv

Post by praveensuss »

Hi,

I was trying to run the ./dsenv command before running the dsjob command. But I get a permission error as shown below:

-bash-3.2$ pwd
/opt/IBM/InformationServer/Server/DSEngine
-bash-3.2$ ./dsenv
-bash: ./dsenv: Permission denied
-bash-3.2$


what may be the reason for this ?

Thank you !
swades
Premium Member
Premium Member
Posts: 323
Joined: Mon Dec 04, 2006 11:52 pm

Re: dsjob command - error while using ./dsenv

Post by swades »

Try changing your shell
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You don't "run" it like that, you're missing a "dot space" in front:

Code: Select all

. ./dsenv
That's how you "source" the file, btw.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply