dsjob from command Prompt

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
Lali_swam
Participant
Posts: 39
Joined: Thu May 05, 2005 3:39 am
Location: Bangalore
Contact:

dsjob from command Prompt

Post 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
Lalitha
palmeal
Participant
Posts: 122
Joined: Thu Oct 14, 2004 7:56 am
Location: Edinburgh, Scotland

Post 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.
There are only 10 kinds of people in the world, those that understand binary and those that don't.
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post 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.
Lali_swam
Participant
Posts: 39
Joined: Thu May 05, 2005 3:39 am
Location: Bangalore
Contact:

Re: dsjob from command Prompt

Post by Lali_swam »

Thanks Sainath and Palmeal
I added that to the PATH and it worked..
I appreciate your help.
Lalitha
Post Reply