Hi,
This is the first time I am trying to use dsjob command to execute job from LINUX.
I tried a simple exercise to execute a job using dsjob command. But it says dsjob command not found. But I checked for dsjob in the path and it exists.
--------------------------
-bash-3.2$ pwd
/opt/IBM/InformationServer/Server/DSEngine/bin
-bash-3.2$ ls dsjob
dsjob
-bash-3.2$
--------------------------
But when I execute
-bash-3.2$ dsjob -server <server name> -run -mode NORMAL <project name> <job name>
It says -bash: dsjob: command not found
What could be the reason ?
Thanks
dsjob command in LINUX - 'command not found' error
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 12
- Joined: Thu Sep 20, 2007 2:22 pm
How much UNIX experience do you have? Or any other command line O/S for that matter? You either need to make sure the directory the command is in is in your $PATH or that you fully path the command or (in this case) since you're parked in the same directory it lives in, stick a "dot slash" in front of it:
The "./" tells it to look in the current directory.
Please don't take this the wrong way, but I see this more and more with people who have used nothing but a GUI interface. Us old farts who had to learn stuff like this back when there weren't no fancy Winders are dying off... where will the world be then?
Code: Select all
-bash-3.2$ ./dsjob -server <server name> -run -mode NORMAL <project name> <job name>
Please don't take this the wrong way, but I see this more and more with people who have used nothing but a GUI interface. Us old farts who had to learn stuff like this back when there weren't no fancy Winders are dying off... where will the world be then?
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers