<?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 ODBC Fetch Error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ODBC-Fetch-Error/m-p/345962#M79675</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;First post... I am a new SAS user, and am trying to connect using ODBC...I can use a LIBNAME statement to connect via ODBC, and I can see the data tables, view the records, etc., however, when I use a DATA statement to pull the data in, it will read all of the data in, and then throw this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: CLI cursor extended fetch error: [IBM][System i Access ODBC Driver][DB2 for i5/OS]SQL0501&lt;BR /&gt;- Cursor SQL_CUR0ABB58E0 not open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what I am perhaps doing wrong or have configured incorrectly? Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2017 20:57:06 GMT</pubDate>
    <dc:creator>pervamatt</dc:creator>
    <dc:date>2017-03-30T20:57:06Z</dc:date>
    <item>
      <title>ODBC Fetch Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-Fetch-Error/m-p/345962#M79675</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;First post... I am a new SAS user, and am trying to connect using ODBC...I can use a LIBNAME statement to connect via ODBC, and I can see the data tables, view the records, etc., however, when I use a DATA statement to pull the data in, it will read all of the data in, and then throw this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR: CLI cursor extended fetch error: [IBM][System i Access ODBC Driver][DB2 for i5/OS]SQL0501&lt;BR /&gt;- Cursor SQL_CUR0ABB58E0 not open.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what I am perhaps doing wrong or have configured incorrectly? Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 20:57:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-Fetch-Error/m-p/345962#M79675</guid>
      <dc:creator>pervamatt</dc:creator>
      <dc:date>2017-03-30T20:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Fetch Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-Fetch-Error/m-p/345972#M79681</link>
      <description>&lt;P&gt;Are you accessing a table or a view?&lt;/P&gt;
&lt;P&gt;Can the view successfully execute on the server side?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 21:30:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-Fetch-Error/m-p/345972#M79681</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-03-30T21:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Fetch Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-Fetch-Error/m-p/345975#M79682</link>
      <description>I believe it's a table...? I have accessed it via IBM ShowCase Query many times in the past, but I receive that error when trying to get it via SAS. As an example the code I am using after the LIBNAME statement is this:&lt;BR /&gt;&lt;BR /&gt;DATA TEST;&lt;BR /&gt;SET PROD.IDCS;&lt;BR /&gt;RUN;&lt;BR /&gt;&lt;BR /&gt;And SAS will read all the records, then throw that error.</description>
      <pubDate>Thu, 30 Mar 2017 21:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-Fetch-Error/m-p/345975#M79682</guid>
      <dc:creator>pervamatt</dc:creator>
      <dc:date>2017-03-30T21:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: ODBC Fetch Error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ODBC-Fetch-Error/m-p/345977#M79684</link>
      <description>&lt;P&gt;Here is the code I try to execute (password replaced)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LIBNAME PROD ODBC USER = 'mperva' PASSWORD = 'XXXXXXX' DATAsrc='Production' SCHEMA = 'OLYDBF';&lt;BR /&gt;&lt;BR /&gt;DATA TEST;&lt;BR /&gt;SET PROD.IDCS;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2017 21:36:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ODBC-Fetch-Error/m-p/345977#M79684</guid>
      <dc:creator>pervamatt</dc:creator>
      <dc:date>2017-03-30T21:36:15Z</dc:date>
    </item>
  </channel>
</rss>

