Page 1 of 1

Datastage Path

Posted: Tue Aug 03, 2010 12:48 pm
by allavivek
Hi All,

I was trying to check the installation path of Dtastage 7.5 by command..

I can get it through administrator but i want to know the command..

I tried giving $echo $DSHOME..but i didnt get any output..

Thank you...

Posted: Tue Aug 03, 2010 1:01 pm
by arun_im4u
-- Check if the DSHOME path is set in your .profile.

-- The comman is echo $DSHOME (You had mentioned $echo $DSHOME)

Posted: Tue Aug 03, 2010 1:04 pm
by allavivek
arun_im4u wrote:-- Check if the DSHOME path is set in your .profile.

-- The comman is echo $DSHOME (You had mentioned $echo $DSHOME)
Yes $ means the shell...

actual command i was giving is echo $DSHOME...

thank you...

Posted: Tue Aug 03, 2010 1:24 pm
by anbu
Unless you define the variable DSHOME in your shell you will not get any value.

dsenv file will have the variable DSHOME. Run the shell script dsenv and then try echo $DSHOME

Code: Select all

. /full_path/dsenv

Posted: Tue Aug 03, 2010 3:02 pm
by allavivek
anbu wrote:Unless you define the variable DSHOME in your shell you will not get any value.

dsenv file will have the variable DSHOME. Run the shell script dsenv and then try echo $DSHOME

Code: Select all

. /full_path/dsenv
Hi anbu,

In my linux server i was having path as

/bi/bustools/riws/iwd/751/Ascential/DataStage

so in which dir dsenv is found....

thank you..

Posted: Tue Aug 03, 2010 3:08 pm
by anbu
Check if you find dsenv file in DSEngine directory
/bi/bustools/riws/iwd/751/Ascential/DataStage/DSEngine

Posted: Tue Aug 03, 2010 3:11 pm
by allavivek
anbu wrote:Check if you find dsenv file in DSEngine directory
/bi/bustools/riws/iwd/751/Ascential/DataStage/DSEngine
got it thank you

:)

Posted: Tue Aug 03, 2010 3:14 pm
by anbu
Pls mark the topic as resolved

Posted: Tue Aug 03, 2010 3:56 pm
by ray.wurlod
It may be the case that the DSHOME environment variable has not been set. A more reliable command is

Code: Select all

cat `/.dshome`
This refers to the hidden file .dshome in the root directory. This file contains the pathname of the DSEngine directory.