Page 1 of 1

dsjob command for unix

Posted: Thu May 29, 2008 4:49 am
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
$

Posted: Thu May 29, 2008 5:17 am
by ArndW
This means that your PATH environment variable does not contain "."

Try "./dsjob -lprojects"

Posted: Thu May 29, 2008 5:55 am
by sachin1
please may i know the setting, so that i can use dsjob directly on command line without using ./dsjob.

thanks,
sachin

Posted: Thu May 29, 2008 5:55 am
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.

Posted: Thu May 29, 2008 6:28 am
by chulett
Or instead, add that bin directory to your path so you can execute 'dsjob' from anywhere.