Page 1 of 1

How to Find DSHOME ?

Posted: Wed Dec 22, 2010 12:53 am
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.

Posted: Wed Dec 22, 2010 2:24 am
by ray.wurlod

Code: Select all

export DSHOME=`cat /.dshome`

Posted: Wed Dec 22, 2010 7:36 am
by chulett
Do that to set it, you can 'echo $DSHOME' to find what it is already set to.

Posted: Wed Dec 22, 2010 8:40 am
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.

Posted: Wed Dec 22, 2010 9:53 am
by chulett
Show us exactly how you are using it, please. Copy/paste that part of your script here.

Posted: Wed Dec 22, 2010 1:11 pm
by ray.wurlod
The backquote characters are an essential part of the syntax.