Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> How to retrieve the Connect String in UNIX script?
Hello expert,
My environment has 10 Oracle databases. The job is run called up by UNIX script. The job may need to sign on with different User IDs to different Oracle database instance in order to get the batch job running. To avoid to logon with a wrong database instance, the current practice is to hard-code the logon ID, password, and the Connect String on the UNIX script.
If I want to remove the hard-code of the logon information, would you mind to share your experience how to handle this change? How to set up the UNIX User environment based on the job so that the script can retrieve the Connect String easily?
![]() |
![]() |