dsjob command
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 139
- Joined: Fri Apr 11, 2008 1:02 pm
dsjob command
Hi
when i execute the dsjob commands (after running the dsenv file ) inside a shell script its working fine, but when i run the dsjob commands in the command prompt (even after running the dsenv file) its not working even from bin directory? anything wrong with my environment varaiables??
should i have to set the DSHOME path in the .local_profile file
what should i do to run the dsjob commands from the command prompt
when i execute the dsjob commands (after running the dsenv file ) inside a shell script its working fine, but when i run the dsjob commands in the command prompt (even after running the dsenv file) its not working even from bin directory? anything wrong with my environment varaiables??
should i have to set the DSHOME path in the .local_profile file
what should i do to run the dsjob commands from the command prompt
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Step 1: source the dsenv file "dot space dot slash dsenv"
You can do the above from the command line or in your home directory's .profile file, if you give the full path to dsenv following the first "dot space."
Code: Select all
. ./dsenv
Choose a job you love, and you will never have to work a day in your life. - Confucius
-
- Premium Member
- Posts: 139
- Joined: Fri Apr 11, 2008 1:02 pm
Hi
I finally able to run it, previously i was running the dsenv as just "dsenv"
without the "." in front of it, i'm not a expert in unix can you please tell me what is the difference in running the script with
"sh dsenv" and " .<space> dsenv" and "dsenv" ( without anything in front of it)
cheers
max
I finally able to run it, previously i was running the dsenv as just "dsenv"
without the "." in front of it, i'm not a expert in unix can you please tell me what is the difference in running the script with
"sh dsenv" and " .<space> dsenv" and "dsenv" ( without anything in front of it)
cheers
max