dsjob command for 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
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

dsjob command for unix

Post by sachin1 »

hello friends i am getting following, please help why dsjob: not found is the message

$ pwd
/dw/dsadm/Ascential/DataStage/DSEngine/bin
$ dsjob -lprojects
dsjob: not found
$
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

This means that your PATH environment variable does not contain "."

Try "./dsjob -lprojects"
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Post by sachin1 »

please may i know the setting, so that i can use dsjob directly on command line without using ./dsjob.

thanks,
sachin
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Try "export PATH=$PATH:."

If you add that to your user's .profile or to the dsenv file then it will automagically happen each session.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Or instead, add that bin directory to your path so you can execute 'dsjob' from anywhere.
-craig

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