dsjob execution
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 39
- Joined: Mon May 19, 2008 7:22 am
dsjob execution
I want to run the dsjob and orchadmin from any directory location in Unix.
I have added one variable(/opt/IBM/InformationServer/Server/DSEngine/bin) in /etc/profile file, but not able run. Please let me know the steps.
I have added one variable(/opt/IBM/InformationServer/Server/DSEngine/bin) in /etc/profile file, but not able run. Please let me know the steps.
You need to add the path to the binary directory to your $PATH environment variable.
Code: Select all
export PATH=$PATH:/opt/IBM/InformationServer/Server/DSEngine/bin
Right. If you don't explicitly path a command so it knows where to find it, you've got to provide a 'search path' so it knows where to look for it - i.e. an ordered list of directories to search thru. That is the $PATH environment variable.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 39
- Joined: Mon May 19, 2008 7:22 am
-
- Participant
- Posts: 39
- Joined: Mon May 19, 2008 7:22 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The UNIX "which" command should tell you if you have your PATH set correctly. For example:
$ which dsjob
/code/IBM/InformationServer/Server/DSEngine/bin/dsjob
$ which xxx
which: 0652-141 There is no xxx in /usr/bin /etc /usr/sbin /usr/ucb /usr/local/bin /usr/bin/X11 /sbin /usr/vac/bin /usr/vacpp/bin /code/app/oracle/product/11.2.0/dbhome_2/bin /code/IBM/InformationServer/jdk/bin /code/IBM/InformationServer/Server/DSEngine/bin
$
$ which dsjob
/code/IBM/InformationServer/Server/DSEngine/bin/dsjob
$ which xxx
which: 0652-141 There is no xxx in /usr/bin /etc /usr/sbin /usr/ucb /usr/local/bin /usr/bin/X11 /sbin /usr/vac/bin /usr/vacpp/bin /code/app/oracle/product/11.2.0/dbhome_2/bin /code/IBM/InformationServer/jdk/bin /code/IBM/InformationServer/Server/DSEngine/bin
$