Page 1 of 1

dsjob command not working

Posted: Wed Apr 26, 2006 3:52 pm
by ds1user1
Hi

When i am issuing dsjob -run command from unix command line it is displaying command not found.why is this happening.

Thanks

Posted: Wed Apr 26, 2006 4:09 pm
by kcbland
Because your profile does not include the DS Engine/bin directory in your PATH. Do "cat /.dshome" to see where the DS Engine resides.

Posted: Wed Apr 26, 2006 4:12 pm
by ray.wurlod
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).

Posted: Wed Apr 26, 2006 4:19 pm
by ds1user1
kcbland wrote:Because your profile does not include the DS Engine/bin directory in your PATH. Do "cat /.dshome" to see where the DS Engine resides. ...
It says cannot open /.dshome.

Thanks

Posted: Wed Apr 26, 2006 4:37 pm
by kcbland
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.

Posted: Wed Apr 26, 2006 5:26 pm
by ray.wurlod
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.

Posted: Mon May 01, 2006 1:52 pm
by devnull
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.
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?

Posted: Fri May 26, 2006 7:31 am
by Krishna Nair

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]
Well, I'am quite new to Datastage PX and as far as i have explored i think all the environment variables get set in the dsenv file under $DSHOME which is sourced in each Datastage user's profile. Would like to know where the user defined environment variables for a particular project go?

Posted: Fri May 26, 2006 8:36 am
by chulett
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?
Just for completeness here...

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`

Posted: Fri May 26, 2006 8:42 am
by kumar_s
DSParam and DSParam.keep are the files which hold the whole variables and its values. Which can be promoted to the new project for one. Do a search or FAQ forum for the same.