Link to home
Start Free TrialLog in
Avatar of bibi92
bibi92Flag for France

asked on

script perl for generate oracle tnsnames.ora in csv file

Hello,

I search a script perl for generate oracle tnsnames.ora in csv file.

Thanks

Regards
Avatar of Zach Shaver
Zach Shaver
Flag of Canada image

The grammar and poor word placements in this question makes it impossible to determine what you are trying to do, sorry.

From my understanding, and it took me several minutes to piece this together, you want to search a perl script to determine how it generates oracle's tnsnames.org from a CSV file?
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

I agree.  Can you explain what you are wanting?

A perl script, tnsnames.ora file and a CSV file really have nothing to do with one another.
Also agree.  If the tnsnames syntax is throwing you, check out http://www.orafaq.com/wiki/Tnsnames.ora -- one of many sources, and simpler than some.
Avatar of bibi92

ASKER

Hello,

I search to format tnsnames.ora in a csv file with a perl script.

Thanks

bibi
That explaination does not help.

Are you wanting to parse the tnsnames.ora file and create some CSV using Perl?
Are you wanting to take a CSV file and create a tnsnames.ora file using Perl?

Are you wanting to do something completely different?

Maybe some sample data and expected results would help us understand what you want to do.
Avatar of bibi92

ASKER

Hello,
Are you wanting to take a CSV file and create a tnsnames.ora file using Perl --> yes.

Thanks a lot

Regards

bibi
>>Are you wanting to take a CSV file and create a tnsnames.ora file using Perl --> yes.

Please provide sample input.
Avatar of bibi92

ASKER

alias = (ADDRESS = (PROTOCOL = TCP)(HOST = server)(PORT = 101)) ---> tnsnames.ora

alias;server;port ----> csv file

Thanks

bibi
ASKER CERTIFIED SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial