dsjob command not working
Moderators: chulett, rschirm, roy
dsjob command not working
Hi
When i am issuing dsjob -run command from unix command line it is displaying command not found.why is this happening.
Thanks
When i am issuing dsjob -run command from unix command line it is displaying command not found.why is this happening.
Thanks
Because your profile does not include the DS Engine/bin directory in your PATH. Do "cat /.dshome" to see where the DS Engine resides.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
This is NOT a DataStage problem. It is purely a problem between the keyboard and the chair, where you do not understand that each executable has to be findable, either because you enter its full pathname or because you have its directory in your command search path (recorded in the PATH environment variable).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Not to ask a stupid question, but are you sure you're telnet'd to the right server? If you are, then look to see if DS is installed. "ps -ef |grep dsrpc" should show the daemon running. If you don't see it, you're probably on the wrong server. If you do see it, then the .dshome file shows where the DS Engine is installed. If that's not there, then you're going to have to find out the hard way or ask your Unix admin.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Could be someone has tightened the permissions on /.dshome too much, could be that an itag installation has been done, so you need the DSHOME environment variable instead. And, as Ken suggests, you may not be on the actual server.
"Unemployment" is not working.
"Unemployment" is not working.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
I had no idea anyone had a .dshome file in the root directory. You mean it is not a common practice to use the DSHOME environment variable?ray.wurlod wrote:Could be someone has tightened the permissions on /.dshome too much, could be that an itag installation has been done, so you need the DSHOME environment variable instead. And, as Ken suggests, you may not be on the actual server.
"Unemployment" is not working.
-
- Participant
- Posts: 19
- Joined: Mon Jul 18, 2005 7:43 am
Code: Select all
I had no idea anyone had a .dshome file in the root directory. You mean it is not a common practice to use the DSHOME environment variable?[/quote]
Just for completeness here...devnull wrote:I had no idea anyone had a .dshome file in the root directory. You mean it is not a common practice to use the DSHOME environment variable?
One constant across installs is the presence of a .dshome file in the root directory. Since the $DSHOME can be anywhere, the .dshome file is what facilitates the setting of the $DSHOME environment variable that everything subsequently uses:
Code: Select all
DSHOME=`cat /.dshome`
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers