<?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 sas Enterprise guide &amp;amp; Oracle in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-Enterprise-guide-amp-Oracle/m-p/454722#M29327</link>
    <description>&lt;P&gt;Hi!&lt;BR /&gt;In the SAS Manadment Console, when the server is configured, the Path field is filled in as follows&lt;BR /&gt;(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = XXX.XXX.XXX.XXX) (PORT = 1521))) (CONNECT_DATA = (sid = orc1))).&lt;BR /&gt;When I try to view the library that accesses this server in SAS Enterprisse Guide, I get an error&lt;/P&gt;&lt;P&gt;Exception type: SAS.EG.SDS.SDSException&lt;BR /&gt;SAS Message: [Error] ORACLE connection error: ORA-12505: TNS: listener does not know of SID given in connect descriptor.&lt;/P&gt;&lt;P&gt;Raw Message: &amp;lt;? Xml version = '1.0'?&amp;gt; &amp;lt;Exceptions&amp;gt; &amp;lt;Exception&amp;gt; &amp;lt;SASMessage severity = 'Error'&amp;gt; ORACLE connection error: ORA-12505: SIN given in connect descriptor. / SASMessage&amp;gt; &amp;lt;/ Exception&amp;gt; &amp;lt;/ Exceptions&amp;gt;&lt;BR /&gt;Source: SAS.EG.SDS.Model&lt;BR /&gt;Target Site: Assign&lt;/P&gt;&lt;P&gt;Stack Trace:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at SAS.EG.SDS.Model.Library.Assign ()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at SAS.EG.SDS.Model.Library.PopulateDatasets (Collection &amp;amp; collection)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at SAS.EG.SDS.Model.Broker.PopulateCollection (Collection collection)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at SAS.EG.SDS.Model.Collection.DoPopulate ()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at SAS.EG.SDS.Views.View.DoPopulate (DisplayOperation &amp;amp; op).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SID field is taken from the tnsnames.ora file. oracle client works normally using the tnsnames.ora file.&lt;/P&gt;&lt;P&gt;Tell me what can be wrong.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Apr 2018 12:51:39 GMT</pubDate>
    <dc:creator>Dmitriy1</dc:creator>
    <dc:date>2018-04-17T12:51:39Z</dc:date>
    <item>
      <title>sas Enterprise guide &amp; Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-Enterprise-guide-amp-Oracle/m-p/454722#M29327</link>
      <description>&lt;P&gt;Hi!&lt;BR /&gt;In the SAS Manadment Console, when the server is configured, the Path field is filled in as follows&lt;BR /&gt;(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = XXX.XXX.XXX.XXX) (PORT = 1521))) (CONNECT_DATA = (sid = orc1))).&lt;BR /&gt;When I try to view the library that accesses this server in SAS Enterprisse Guide, I get an error&lt;/P&gt;&lt;P&gt;Exception type: SAS.EG.SDS.SDSException&lt;BR /&gt;SAS Message: [Error] ORACLE connection error: ORA-12505: TNS: listener does not know of SID given in connect descriptor.&lt;/P&gt;&lt;P&gt;Raw Message: &amp;lt;? Xml version = '1.0'?&amp;gt; &amp;lt;Exceptions&amp;gt; &amp;lt;Exception&amp;gt; &amp;lt;SASMessage severity = 'Error'&amp;gt; ORACLE connection error: ORA-12505: SIN given in connect descriptor. / SASMessage&amp;gt; &amp;lt;/ Exception&amp;gt; &amp;lt;/ Exceptions&amp;gt;&lt;BR /&gt;Source: SAS.EG.SDS.Model&lt;BR /&gt;Target Site: Assign&lt;/P&gt;&lt;P&gt;Stack Trace:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at SAS.EG.SDS.Model.Library.Assign ()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at SAS.EG.SDS.Model.Library.PopulateDatasets (Collection &amp;amp; collection)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at SAS.EG.SDS.Model.Broker.PopulateCollection (Collection collection)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at SAS.EG.SDS.Model.Collection.DoPopulate ()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at SAS.EG.SDS.Views.View.DoPopulate (DisplayOperation &amp;amp; op).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SID field is taken from the tnsnames.ora file. oracle client works normally using the tnsnames.ora file.&lt;/P&gt;&lt;P&gt;Tell me what can be wrong.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 12:51:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-Enterprise-guide-amp-Oracle/m-p/454722#M29327</guid>
      <dc:creator>Dmitriy1</dc:creator>
      <dc:date>2018-04-17T12:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: sas Enterprise guide &amp; Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-Enterprise-guide-amp-Oracle/m-p/455039#M29345</link>
      <description>Do you have any Oracle connection that works?&lt;BR /&gt;If no, be sure that have performed all  configuration steps for SAS/ACCESS to Oracle. &lt;BR /&gt;If yes, have an Oracle DBA look through your tnsnames file and libname options.</description>
      <pubDate>Wed, 18 Apr 2018 06:26:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-Enterprise-guide-amp-Oracle/m-p/455039#M29345</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2018-04-18T06:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: sas Enterprise guide &amp; Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-Enterprise-guide-amp-Oracle/m-p/455065#M29350</link>
      <description>&lt;P&gt;I find it easier to test database connection strings in a LIBNAME statement first before setting up libraries in metadata. Have you tried that? From what I can see it looks like you are trying to bypass the TNSNAMES.ORA definition by defining everything in the connection string - is that correct? It might be easier to try a LIBNAME with the PATH= option to reference an existing TNSNAMES.ORA defined database.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Apr 2018 08:53:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-Enterprise-guide-amp-Oracle/m-p/455065#M29350</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-04-18T08:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: sas Enterprise guide &amp; Oracle</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-Enterprise-guide-amp-Oracle/m-p/456249#M29401</link>
      <description>&lt;P&gt;Hi &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/203640"&gt;@Dmitriy1&lt;/a&gt; Try to Right Click on the Library/Libname in SAS Management Console and selecting "Display Libname Statement". You'll see the Generated Libname Statement does not match the syntax of your definition! Hence you are getting the Error!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While the &lt;A href="http://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=acreldb&amp;amp;docsetTarget=p1qft7bzdij79zn1bxh59mc3w8xj.htm&amp;amp;locale=en" target="_self"&gt;SAS/ACCESS to ORACLE Documentation&lt;/A&gt; shows an example on how connects to Oracle without updating the TNSNAMES.ORA file&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname x oracle user=myusr1 pw=mypwd1 
  path="(DESCRIPTION= 
          (ADDRESS_LIST=
            (ADDRESS= (PROTOCOL=TCP)(HOST=pinkfloyd)(PORT=1521))
             )
              (CONNECT_DATA= 
       "  	     (SID=alien)
       "   )
       " )
       " ";&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That doesn't mean, the SAS Management Console would translate the library definition the same way!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's safer to modify the TNSNAMES.ora file accessible to your SAS Server(s) to include the Oracle connection settings.&lt;/P&gt;
&lt;P&gt;Just my 2 cents,&lt;/P&gt;
&lt;P&gt;Ahmed&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Apr 2018 01:26:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/sas-Enterprise-guide-amp-Oracle/m-p/456249#M29401</guid>
      <dc:creator>AhmedAl_Attar</dc:creator>
      <dc:date>2018-04-22T01:26:05Z</dc:date>
    </item>
  </channel>
</rss>

