Print Thread
Exactly how does DOA connect to SQL*Net?
#715 07/26/00 02:46 AM
Joined: Apr 2000
Posts: 1
E
ecutlip Offline OP
Member
OP Offline
Member
E
Joined: Apr 2000
Posts: 1
I have a need to get the sid, host string, and the port from the tnsnames.ora for the tnsnames entry the user specifies when logging in to an app I wrote using DOA. The problem is there can be (and frequently are) more than one Oracle client installed on a given machine. So, how can I find the exact tnsnames.ora used by my DOA app?

Thanks,
Eldon

Re: Exactly how does DOA connect to SQL*Net?
#716 07/27/00 05:37 PM
Joined: Aug 1999
Posts: 22,206
Member
Offline
Member
Joined: Aug 1999
Posts: 22,206
The location of the tnsnames.ora file that Direct Oracle Access has determined is not accessible from within your application. If you have the source files, then it's easily made available, just search for 'tnsnames.ora' in OracleCI.pas. We will add a public variable for this in 3.4.


------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.031s Queries: 14 (0.007s) Memory: 2.4959 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-04-27 07:11:31 UTC
Valid HTML 5 and Valid CSS