Ok, a few months ago, the wonderful members of Petri helped me out with modifying a tnsnames.ora file. The code edited the file by adding several lines of text to the end of the oracle world entries.
I need to modify the above code so that it now checks for a specific line of text. If found, the script would edit so many lines below. For instance, in the entry below, I would need to search the file for the test.world entry, then check the port number and host. If port number =1521 and host = oracle, change port line to 1520 and host to oracle10g.
Looking forward to the genius slew of solutions. As always, you guys are a life saver.
You must be logged in to reply to this topic.
Create a free account today to participate in forum conversations, comment on posts and more.