Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: oraenv description
In article <5um7af$3se$3_at_peanuts.Materna.DE>, Joachim Flierdl
<Joachim.Flierdl_at_Materna.DE> writes
>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,
It's just a little script file, I forget where it is (I'm no longer on a Unix system). There is also a coraenv script for calling from the csh shell.
I suspect that your call to oraenv may be occurring in a sub-shell and so the results do make it back into the parent shell - you need to '.' or 'source' it in.
Andy
-- Andy Hardy Senior IT Systems Engineer Cegelec AEG ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Opinions are mine and do not necessarily reflect those of Cegelec AEGReceived on Thu Sep 04 1997 - 00:00:00 CDT
![]() |
![]() |