Need to Run a Datastage job from Unix Prompt

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Das
Participant
Posts: 87
Joined: Tue Oct 24, 2006 9:58 pm
Location: india

Need to Run a Datastage job from Unix Prompt

Post by Das »

Hi All,

Could you tell me How can I run a Datastage job from the Unix Prompt.
I have tried with dsjob command,But It is not working.
1.Please let me know the currect syntax
2.Do I need to run the command from any particular directory


Thanks,
Sudheep
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What is "not working" about it? The syntax is available directly from the command itself, in the documentation and regurgitated here so many times that I don't see why we should type that all up again. :?

1. Type 'dsjob' and press return. Or look it up in the Server Job Delevoper's Guide.
2. Nope.

If you searched the forums, you would have seen this little nugget o' goodness, a step I'm guessing you are missing before running dsjob:

Code: Select all

cd `cat /.dshome`
. ./dsenv
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

As with any other UNIX command the directory containing the dsjob executable must be mentioned in your command search path (the PATH environment variable), or you must supply the full pathname of the dsjob executable.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply