How to Find DSHOME ?

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
Abhi700
Participant
Posts: 20
Joined: Thu Nov 25, 2010 3:52 am
Location: Pune

How to Find DSHOME ?

Post by Abhi700 »

Hi All,

i am executing the script to run the job.
There i had find $DSHOME/bin/dsjob -domain $Domain.
Where can i find DSHOME in the Environment.

Thanks in Advance.
ABHILASH
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Code: Select all

export DSHOME=`cat /.dshome`
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Do that to set it, you can 'echo $DSHOME' to find what it is already set to.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Abhi700
Participant
Posts: 20
Joined: Thu Nov 25, 2010 3:52 am
Location: Pune

Post by Abhi700 »

I had Used the cat /.dshome Command in the script but i am getting an error.
The error is path of the cat/.dshome it is not an identifier.
ABHILASH
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Show us exactly how you are using it, please. Copy/paste that part of your script here.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The backquote characters are an essential part of the syntax.
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