In which directory we run dsjob command?
Moderators: chulett, rschirm, roy
In which directory we run dsjob command?
I want to run one sequence job through dsjob command. I want to put that syntax in another job's after job subroutine.
Now my question is in which directory I run dsjob command?
I apologize for this stupid question. I have done this earlier but it just slipped from mind.
Any help will be much appreciated.
Now my question is in which directory I run dsjob command?
I apologize for this stupid question. I have done this earlier but it just slipped from mind.
Any help will be much appreciated.
-
- Participant
- Posts: 342
- Joined: Tue Nov 04, 2008 10:38 am
- Location: Chennai, India
Use this command to find the path of dsjob
Code: Select all
find / -name 'dsjob' -print 2>/dev/null
You are the creator of your destiny - Swami Vivekananda
Thanks for your reply.
I did this and found following directory:
/IBM/InformationServer/Server/DSEngine/bin/dsjob
But when I ran dsjob command it says:
-bash: dsjob: command not found
I ran following command:
dsjob -run <projectname> <job name>
Any suggestion?
I did this and found following directory:
/IBM/InformationServer/Server/DSEngine/bin/dsjob
But when I ran dsjob command it says:
-bash: dsjob: command not found
I ran following command:
dsjob -run <projectname> <job name>
Any suggestion?
anbu wrote:Use this command to find the path of dsjobCode: Select all
find / -name 'dsjob' -print 2>/dev/null
Attach full path to the command
Code: Select all
/IBM/InformationServer/Server/DSEngine/bin/dsjob -run <projectname> <job name>
You are the creator of your destiny - Swami Vivekananda
Or if you cd'd to the bin directory then you could use "dot slash":
Or you could update your $PATH to include that bin directory and then it wouldn't matter where you were when you launched the command.
Code: Select all
./dsjob -run <projectname> <job name>
Last edited by chulett on Thu Nov 18, 2010 2:00 pm, edited 1 time in total.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
I logged in Unix and then changed directory to /IBM/InformationServer/Server/DSEngine/bin/ and then ran dsjob but it is giving me same error.
are there any settings need to be done to run dsjob?
are there any settings need to be done to run dsjob?
anbu wrote:Attach full path to the commandCode: Select all
/IBM/InformationServer/Server/DSEngine/bin/dsjob -run <projectname> <job name>
It didn't work.
I got follwoing error:
./dsjob: error while loading shared libraries: libvmdsapi.so: cannot open shared object file: No such file or directory
I got follwoing error:
./dsjob: error while loading shared libraries: libvmdsapi.so: cannot open shared object file: No such file or directory
chulett wrote:Or if you cd'd to the bin directory then you could use "dot slash":
Or you could update your $PATH to include that bin directory and ...Code: Select all
./dsjob -run <projectname> <job name>
Run this script before running dsjob
Code: Select all
. /IBM/InformationServer/Server/DSEngine/dsenv
You are the creator of your destiny - Swami Vivekananda
I tried running
. /IBM/InformationServer/Server/DSEngine/dsenv
It says permission denied.
Is this something which is causing error while running dsjob.
. /IBM/InformationServer/Server/DSEngine/dsenv
It says permission denied.
Is this something which is causing error while running dsjob.
anbu wrote:Run this script before running dsjobCode: Select all
. /IBM/InformationServer/Server/DSEngine/dsenv
Yes. Get the execute permission to dsenv filepalak08 wrote:I tried running
. /IBM/InformationServer/Server/DSEngine/dsenv
It says permission denied.
Is this something which is causing error while running dsjob.anbu wrote:Run this script before running dsjobCode: Select all
. /IBM/InformationServer/Server/DSEngine/dsenv
You are the creator of your destiny - Swami Vivekananda