Re: How to retrieve the Connect String in UNIX script?
From: Jared Still <jkstill@xxxxxxxxxx>
To: Oracle-L Freelists <oracle-l@xxxxxxxxxxxxx>
Date: Sun, 15 Aug 2004 08:22:15 -0700
On Sun, 2004-08-15 at 07:01, Wes Brooks wrote:
> The calling script will call the password.ksh to retrieve the password and
> Oracle user ID. But I
> have problem to retrieve the Connect String unless I have to hardcode in the
> UNIX script e.g.
> ORACLE_DATABASE=ABC_SID.
>
> Do we have a better way to handle this hard-coding?
>
Use the password server in the PDBA toolkit.
Passwords are stored in a configuration file, and
served up to clients by a server listening on a
port.
http://www.oreilly.com/catalog/oracleperl/pdbatoolkit/
Jared
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to: oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------