To run datastage job through UNIX

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
Virupan
Participant
Posts: 5
Joined: Fri Jan 11, 2008 4:18 am

To run datastage job through UNIX

Post by Virupan »

Hi,

I am trying to run the datastage job in UNIX but I am not getting the command line prompt path where it should be executed.Please let me know.


Thanks
vasa_dxx
Participant
Posts: 39
Joined: Sun Sep 28, 2008 2:59 am
Contact:

Post by vasa_dxx »

It has been discussed umpteen times.
Please do search.

Log into Unix Server

Code: Select all

cat $DSHOME 
cd $DSHOME
dsjob -run <<jobname>>  <<projectname>> 
Two wrongs don't make a right. But three lefts do.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

If where it lives is in your PATH you can launch it from anywhere. Otherwise, fully path the command: $DSHOME/bin/dsjob from anywhere.
-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 »

Don't forget the essential set to execute the $DSHOME/dsenv script first.
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