Datastage Path

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
allavivek
Premium Member
Premium Member
Posts: 211
Joined: Sat May 01, 2010 5:07 pm

Datastage Path

Post 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...
arun_im4u
Premium Member
Premium Member
Posts: 104
Joined: Mon Nov 08, 2004 8:42 am

Post by arun_im4u »

-- Check if the DSHOME path is set in your .profile.

-- The comman is echo $DSHOME (You had mentioned $echo $DSHOME)
allavivek
Premium Member
Premium Member
Posts: 211
Joined: Sat May 01, 2010 5:07 pm

Post 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...
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post 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
You are the creator of your destiny - Swami Vivekananda
allavivek
Premium Member
Premium Member
Posts: 211
Joined: Sat May 01, 2010 5:07 pm

Post 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..
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

Check if you find dsenv file in DSEngine directory
/bi/bustools/riws/iwd/751/Ascential/DataStage/DSEngine
You are the creator of your destiny - Swami Vivekananda
allavivek
Premium Member
Premium Member
Posts: 211
Joined: Sat May 01, 2010 5:07 pm

Post 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

:)
anbu
Premium Member
Premium Member
Posts: 596
Joined: Sat Feb 18, 2006 2:25 am
Location: india

Post by anbu »

Pls mark the topic as resolved
You are the creator of your destiny - Swami Vivekananda
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply