Page 1 of 1

dsjob command not found

Posted: Tue Oct 03, 2006 6:08 am
by hhh
Hello,
In ....DSEngine/bin directory dsjob command is available however i am trying to use dsjob command at that time i am getting
"dsjob: command not found"
have set the appropriate library path also , but still i can not use dsjob command.
pls suggest your ideas on same.
Regards,
Hiten

Posted: Tue Oct 03, 2006 6:18 am
by thompsonp
The directory containing dsjob is not in your PATH.
If changing to that directory does not help, then . (the current directory) is not in your PATH either.

Run the command from the bin directory as ./dsjob or set the PATH environment variable accordingly.

Posted: Tue Oct 03, 2006 6:34 am
by hhh
I was such a stupid that i was using just dsjob in place of ./dsjob.
Thanks,
Thompson

[quote="thompsonp"]The directory containing dsjob is not in your PATH.
If changing to that directory does not help, then . (the current directory) is not in your PATH either.

Run the command from the bin directory as ./dsjob or set the PATH environment variable accordingly.[/quote]

Posted: Wed Oct 04, 2006 6:59 am
by Kirtikumar
It is not the case that always while command dsjob, you have to say ./dsjob to run the command.

In some unix systems, you can run dsjob command from dir $DSHOME/bin/ by just saying dsjob, but in some unix systems, you will have use ./dsjob.

Posted: Wed Oct 04, 2006 7:51 am
by ArndW
Umm, if you add the directory that contains the dsjob command to your session's PATH variable you do not need to do that. This is independant of your UNIX version.

Whether or not you need to specify the "." is also a function of your PATH setting, if the "." is contained there then you do not need to add it.