Op 06-11-13 05:24, Kgaur schreef:
Hi
No problem posting here.
What is the issue?
Post error messages or expected and
found results.
For there seems nothing wrong with the
script.
I guess the result you expect is not
what you get.
You run the script instead of sourcing
the script.
source ./setenv.sh
or
. ./setenv.sh
will set the variables for the whole
session
where as
./setenv.sh
will only set the variables during
the run of your script.
This can be verified by putting an
echo $ORACLE_SID at the end of the
script and run the echo after the
script ended
Kind regards,
Jan Gerrit Kootstra