Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: oraenv description
Hi !
If you call oraenv from .profile you have to call it like '. profile'. If calling from .login you have to call it like 'source /usr/bin/coraenv'. The reason is, that if variables definied in a script, are discarded at termination of that script. Regards Dante A. Notari-Locher
Andy Hardy wrote:
>
[snip]
> >Hello,
> >
> >I'm looking for a description of the unix utility 'oraenv'.
> >This is normally used to determine the right entry for the
> >environment variable 'ORACLE_SID'.
> >I discovered that the environment variables 'NLS_LANG' and
> >'LANG' aren't evaluated if 'oraenv' is called in '.profile'.
> >Can somebody tell me, more about this behavior.
> >I didn't find anything about it in the oracle documentation.
> >
> >thanks in advance
> >Joachim
> Joachim,
>
[snip]
Received on Mon Sep 08 1997 - 00:00:00 CDT