<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Oracle Connection Error in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Oracle-Connection-Error/m-p/39633#M10244</link>
    <description>Please check out the TNSNames.ora file u can get the file where oracle is setup.&lt;BR /&gt;
as add the TNS name that is you database name .&lt;BR /&gt;
&lt;BR /&gt;
ex:D:\oracle\product\10.2.0\client_1\NETWORK\ADMIN&lt;BR /&gt;
&lt;BR /&gt;
open file TNSNames.ora&lt;BR /&gt;
&lt;BR /&gt;
dsname =&lt;BR /&gt;
  (DESCRIPTION =&lt;BR /&gt;
    (ADDRESS = (PROTOCOL = TCP)(HOST = ipaddressofserver)&lt;BR /&gt;
  (PORT = 1521))&lt;BR /&gt;
    (CONNECT_DATA =&lt;BR /&gt;
      (SERVER = DEDICATED)&lt;BR /&gt;
      (SERVICE_NAME = dbname)&lt;BR /&gt;
    )&lt;BR /&gt;
  )</description>
    <pubDate>Tue, 29 Mar 2011 11:13:26 GMT</pubDate>
    <dc:creator>sss</dc:creator>
    <dc:date>2011-03-29T11:13:26Z</dc:date>
    <item>
      <title>Oracle Connection Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Oracle-Connection-Error/m-p/39632#M10243</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to connect to an Oracle 10G database which is present in a remote server, through SAS EG in UNIX. However, when i try to assign a libname using the below code - &lt;BR /&gt;
libname DDW oracle user='user-id' ORAPW='pass' path='@path' schema=DDWMGR; &lt;BR /&gt;
&lt;BR /&gt;
I get the following error message:&lt;BR /&gt;
ERROR: ORACLE connection error: ORA-12541: TNS:no listener.&lt;BR /&gt;
&lt;BR /&gt;
ERROR: Error in the LIBNAME statement.&lt;BR /&gt;
&lt;BR /&gt;
Could you please tell me what is it that I'm missing here?&lt;BR /&gt;
&lt;BR /&gt;
Let me know if you would need any other details.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in Advance,&lt;BR /&gt;
Pramod.R</description>
      <pubDate>Tue, 29 Mar 2011 05:06:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Oracle-Connection-Error/m-p/39632#M10243</guid>
      <dc:creator>Pramod_R</dc:creator>
      <dc:date>2011-03-29T05:06:16Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle Connection Error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Oracle-Connection-Error/m-p/39633#M10244</link>
      <description>Please check out the TNSNames.ora file u can get the file where oracle is setup.&lt;BR /&gt;
as add the TNS name that is you database name .&lt;BR /&gt;
&lt;BR /&gt;
ex:D:\oracle\product\10.2.0\client_1\NETWORK\ADMIN&lt;BR /&gt;
&lt;BR /&gt;
open file TNSNames.ora&lt;BR /&gt;
&lt;BR /&gt;
dsname =&lt;BR /&gt;
  (DESCRIPTION =&lt;BR /&gt;
    (ADDRESS = (PROTOCOL = TCP)(HOST = ipaddressofserver)&lt;BR /&gt;
  (PORT = 1521))&lt;BR /&gt;
    (CONNECT_DATA =&lt;BR /&gt;
      (SERVER = DEDICATED)&lt;BR /&gt;
      (SERVICE_NAME = dbname)&lt;BR /&gt;
    )&lt;BR /&gt;
  )</description>
      <pubDate>Tue, 29 Mar 2011 11:13:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Oracle-Connection-Error/m-p/39633#M10244</guid>
      <dc:creator>sss</dc:creator>
      <dc:date>2011-03-29T11:13:26Z</dc:date>
    </item>
  </channel>
</rss>

