Parse TNSNAMES.ORA

rmathur

Member²
Hi Marco,
Is there anyway to parse TNSNAMES.ORA for the Address, Port and Service of an entry? I noticed that OracleCI unit enumerates the AliasList but does not give this other info. I am trying to write a parser for it but its a pain when things are not exactly entered they way u parse. Is it possible for u to give me the code that u use to parse TNSNAMES so I can use it to extract the ip etc? Is it possible to add this in the future versions?
Thanx for the great support. I love this product!

------------------
 
The tnsnames parser we use only searches for the aliases, and skips all other information. I will send you this code, though I doubt that its limited functionality will help you.

We currently do not have any plans to provide detailed information about the aliases in a future release, but if you succeed in writing such a function, be sure to let me know
wink.gif
.

------------------
Marco Kalter
Allround Automations
 
Back
Top