Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: oraenv description

Re: oraenv description

From: Andy Hardy <Andy_Hardy_at_camk.demon.co.uk>
Date: 1997/09/04
Message-ID: <suUegJAhcsD0Mwnj@camk.demon.co.uk>#1/1

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 AEG
Received on Thu Sep 04 1997 - 00:00:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US