<?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: ODBC connection to IBM Netezza in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODBC-connection-to-IBM-Netezza/m-p/250866#M47328</link>
    <description>&lt;P&gt;Your libname statment may be incomplete for using ODBC, it should look like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="strong"&gt;LIBNAME&lt;/SPAN&gt; &lt;SPAN class="emph"&gt;libref&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN class="strong"&gt;odbc&lt;/SPAN&gt;&lt;/STRONG&gt; &amp;lt;&lt;SPAN class="emph"&gt;connection-options&lt;/SPAN&gt;&amp;gt; &amp;lt;&lt;SPAN class="emph"&gt;LIBNAME-options&lt;/SPAN&gt;&amp;gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With netezza instead of odbc in your code it is attempting to use the Netezza engine which requires that specific license. And you may want to use DATAsrc=NZSQL instead of DSN. From the documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;DSN= is an alias for this option that indicates that the connection is attempted using the ODBC SQLConnect API, which requires a data source name. You can also use a user ID and password with DSN=. If you want to use an ODBC file DSN, then instead of supplying DATAsrc=&amp;lt;'&amp;gt;&lt;SPAN class="emph"&gt;ODBC-data-source&lt;/SPAN&gt;&amp;lt;'&amp;gt;, use the PROMPT= or NOPROMPT= option followed by "&lt;SPAN class="emph"&gt;filedsn&lt;/SPAN&gt;=(&lt;SPAN class="emph"&gt;name-of-your-file-dsn&lt;/SPAN&gt;);". For example:&lt;/P&gt;
&lt;PRE&gt;&lt;A name="a001625297" target="_blank"&gt;&lt;/A&gt;libname mydblib odbc noprompt="filedsn=d:\share\msafiledsn.dsn;";&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Feb 2016 15:56:46 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2016-02-18T15:56:46Z</dc:date>
    <item>
      <title>ODBC connection to IBM Netezza</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-connection-to-IBM-Netezza/m-p/250855#M47324</link>
      <description>&lt;P&gt;Dear friends,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to coonect IBM Netezza using libname in SAS. &lt;SPAN&gt;The NZSQL data source is configured in the ODBC Administrator Control Panel on Windows platforms, I filled out the server name, port, user name , and database in the ODBC adminstrotor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However, &amp;nbsp;the following libname statement did not work at SAS. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;libname &amp;nbsp;cde &amp;nbsp;netezza dsn= NZSQL&amp;nbsp;user= &amp;nbsp; password=&amp;nbsp;abcde;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ERROR: The NETEZZA engine cannot be found&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How this can be fixed ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you very much,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ivy&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:34:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-connection-to-IBM-Netezza/m-p/250855#M47324</guid>
      <dc:creator>Ivy</dc:creator>
      <dc:date>2016-02-18T15:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC connection to IBM Netezza</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-connection-to-IBM-Netezza/m-p/250866#M47328</link>
      <description>&lt;P&gt;Your libname statment may be incomplete for using ODBC, it should look like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="strong"&gt;LIBNAME&lt;/SPAN&gt; &lt;SPAN class="emph"&gt;libref&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN class="strong"&gt;odbc&lt;/SPAN&gt;&lt;/STRONG&gt; &amp;lt;&lt;SPAN class="emph"&gt;connection-options&lt;/SPAN&gt;&amp;gt; &amp;lt;&lt;SPAN class="emph"&gt;LIBNAME-options&lt;/SPAN&gt;&amp;gt;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With netezza instead of odbc in your code it is attempting to use the Netezza engine which requires that specific license. And you may want to use DATAsrc=NZSQL instead of DSN. From the documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;DSN= is an alias for this option that indicates that the connection is attempted using the ODBC SQLConnect API, which requires a data source name. You can also use a user ID and password with DSN=. If you want to use an ODBC file DSN, then instead of supplying DATAsrc=&amp;lt;'&amp;gt;&lt;SPAN class="emph"&gt;ODBC-data-source&lt;/SPAN&gt;&amp;lt;'&amp;gt;, use the PROMPT= or NOPROMPT= option followed by "&lt;SPAN class="emph"&gt;filedsn&lt;/SPAN&gt;=(&lt;SPAN class="emph"&gt;name-of-your-file-dsn&lt;/SPAN&gt;);". For example:&lt;/P&gt;
&lt;PRE&gt;&lt;A name="a001625297" target="_blank"&gt;&lt;/A&gt;libname mydblib odbc noprompt="filedsn=d:\share\msafiledsn.dsn;";&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Feb 2016 15:56:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-connection-to-IBM-Netezza/m-p/250866#M47328</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-02-18T15:56:46Z</dc:date>
    </item>
  </channel>
</rss>

