Page 1 of 1

dsjob from command Prompt

Posted: Thu Jun 23, 2005 3:55 am
by Lali_swam
Hi,
Datastage Server is in a Linux box.
I connect to the server using PUTTY and then tried to run a job with the command dsjob.
I am getting the error:
"bash: dsjob: command not found".
Is there a path that I need to set up. I went to the Project folder where the project resides and then submitted one job in that folder. Can anybody tell me what I am doing wrong.
I read many topics before posting here :
Everyone says type "dsjob -run" from command prompt or give references to the Command Line Inferfaces ( 19-132 in server side and 7-131 in Prarallel side) in the Documentations.
But I am not able to proceed as I think I have to set up something before executing this job. All Help is appreciated.

Thanks,
Lalitha

Posted: Thu Jun 23, 2005 4:22 am
by palmeal
Type "which dsjob" - if the dsjob.exe isn't found then you'll have to add the directory in which it resides to your path.

Posted: Thu Jun 23, 2005 4:32 am
by Sainath.Srinivasan
You either need to run from the datastage bin dir using

`cat /.dshome`/bin/dsjob

or include the dir in your path using

PATH=$PATH:`cat /.dshome`/bin; export $PATH

to run the command.

You can also switch to the dir to run the dsjob command.

Re: dsjob from command Prompt

Posted: Thu Jun 23, 2005 5:18 am
by Lali_swam
Thanks Sainath and Palmeal
I added that to the PATH and it worked..
I appreciate your help.