Generate tnsnames.ora from up to date OEM using sqlcl
No it is not required to use sqlcl for this. sqlplus or any other sql execution tool of your choice will work. C:\sqldeveloper-17.2.0.188.1159-x64\sqlcl-17.2.0.184.1230-no-jre\sqlcl\bin\sql.bat /nolog connect sysman/yourSysmanPW@your-oem-hostname:1521/emService spool newtns.ora set pagesize 0 set verify off set feedback off select distinct sid.PROPERTY_VALUE||’ = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = ‘||machine.PROPERTY_VALUE||’)(PORT = ‘||port.PROPERTY_VALUE||’))) (CONNECT_DATA …
Generate tnsnames.ora from up to date OEM using sqlcl Read More »