Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to retrieve the Connect String in UNIX script?
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
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Sun Aug 15 2004 - 10:17:07 CDT