<?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/ACCESS Oracle readbuff error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Oracle-readbuff-error/m-p/187543#M265761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have code that is pulling data from an Oracle database and uses readbuff option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code runs fine on our Linux server using SAS/ACCESS to Oracle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a Windows server using SAS/ACCESS to ODBC, it crashes with a traceback error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both servers are 9.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't tested it much, cuz the Windows server admin doesn't like it when I do.&amp;nbsp;&amp;nbsp; (Query is run by a stored process, I think it might actually cause a process to hang, but I don't have enough rights on the box to see).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering if anyone else has seen this?&amp;nbsp; It's a small table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/17/006.html"&gt;http://support.sas.com/kb/17/006.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example below, I get similar error using a libname with implicit pass-through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;6870&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +proc sql;
6871&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&amp;nbsp; Connect to odbc(datasrc=... readbuff=250);
ODBC: AUTOCOMMIT is YES for connection 0
6872&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +
6873&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&amp;nbsp; Select * from Connection to odbc
6874&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&amp;nbsp; (select * from Mytable)
6875&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&amp;nbsp; ;
 
ODBC_49: Prepared: on connection 0
select * from Mytable 
 
ODBC_50: Executed: on connection 0
Prepared statement ODBC_49
 
ERROR:&amp;nbsp; An exception has been encountered.
Please contact technical support and provide them with the following traceback 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; information:
 
The SAS task name is [SQL (52)]
ERROR:&amp;nbsp; Read Access Violation SQL (52)
Exception occurred at (02D10425)
Task Traceback
Address&amp;nbsp;&amp;nbsp; Frame&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (DBGHELP API Version 4.0 rev 5)
0000000002D10425&amp;nbsp; 000000000A09D5F0&amp;nbsp; saswob:tkvercn1+0xF3E5
00000000078C380F&amp;nbsp; 000000000A09D5F8&amp;nbsp; saswobc:tkvercn1+0x27CF
00000000075F7C58&amp;nbsp; 000000000A09D738&amp;nbsp; sasods:tkvercn1+0x186C18
00000000075FE619&amp;nbsp; 000000000A09D830&amp;nbsp; sasods:tkvercn1+0x18D5D9
000000000753173C&amp;nbsp; 000000000A09DBB0&amp;nbsp; sasods:tkvercn1+0xC06FC
00000000083D9828&amp;nbsp; 000000000A09DBB8&amp;nbsp; sasoda:tkvercn1+0x287E8
00000000083C5E21&amp;nbsp; 000000000A09E230&amp;nbsp; sasoda:tkvercn1+0x14DE1
00000000083C23C8&amp;nbsp; 000000000A09EC30&amp;nbsp; sasoda:tkvercn1+0x11388
0000000008CA2488&amp;nbsp; 000000000A09EC38&amp;nbsp; sasmrk:tkvercn1+0xD1448
0000000008C46B86&amp;nbsp; 000000000A09ECF0&amp;nbsp; sasmrk:tkvercn1+0x75B46
00000000085BDB88&amp;nbsp; 000000000A09ECF8&amp;nbsp; sasxml:tkvercn1+0x5CB48
0000000008562FB3&amp;nbsp; 000000000A09EE10&amp;nbsp; sasxml:tkvercn1+0x1F73
00000000083D9828&amp;nbsp; 000000000A09EE50&amp;nbsp; sasoda:tkvercn1+0x287E8
00000000083C02E5&amp;nbsp; 000000000A09F2F0&amp;nbsp; sasoda:tkvercn1+0xF2A5
00000000075F7C58&amp;nbsp; 000000000A09F330&amp;nbsp; sasods:tkvercn1+0x186C18
00000000074A2628&amp;nbsp; 000000000A09F550&amp;nbsp; sasods:tkvercn1+0x315E8
00000000074A1EA9&amp;nbsp; 000000000A09F650&amp;nbsp; sasods:tkvercn1+0x30E69
0000000007D555A8&amp;nbsp; 000000000A09F658&amp;nbsp; sassqx:tkvercn1+0x44568
0000000007D39238&amp;nbsp; 000000000A09F750&amp;nbsp; sassqx:tkvercn1+0x281F8
0000000007D37827&amp;nbsp; 000000000A09F870&amp;nbsp; sassqx:tkvercn1+0x267E7
0000000007D39F8D&amp;nbsp; 000000000A09F8D0&amp;nbsp; sassqx:tkvercn1+0x28F4D
0000000007D481BB&amp;nbsp; 000000000A09F920&amp;nbsp; sassqx:tkvercn1+0x3717B
0000000007D406CD&amp;nbsp; 000000000A09FC20&amp;nbsp; sassqx:tkvercn1+0x2F68D
0000000007A0132A&amp;nbsp; 000000000A09FC28&amp;nbsp; sassql:tkvercn1+0x2EA
0000000001D28FD7&amp;nbsp; 000000000A09FCB8&amp;nbsp; sashost:Main+0xF917
0000000001D2D5FD&amp;nbsp; 000000000A09FF50&amp;nbsp; sashost:Main+0x13F3D
00000000776959ED&amp;nbsp; 000000000A09FF58&amp;nbsp; kernel32:BaseThreadInitThunk+0xD
00000000778CC541&amp;nbsp; 000000000A09FF88&amp;nbsp; ntdll:RtlUserThreadStart+0x21

&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Yes, I know it says to contact tech support.&amp;nbsp; I would if I really needed a solution at this point (I can live with the defaults readbuff as it's a small table) , and if I could do more testing.&amp;nbsp; It's mostly Friday curiousity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jun 2014 15:10:28 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2014-06-06T15:10:28Z</dc:date>
    <item>
      <title>SAS/ACCESS Oracle readbuff error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Oracle-readbuff-error/m-p/187543#M265761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have code that is pulling data from an Oracle database and uses readbuff option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code runs fine on our Linux server using SAS/ACCESS to Oracle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a Windows server using SAS/ACCESS to ODBC, it crashes with a traceback error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both servers are 9.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't tested it much, cuz the Windows server admin doesn't like it when I do.&amp;nbsp;&amp;nbsp; (Query is run by a stored process, I think it might actually cause a process to hang, but I don't have enough rights on the box to see).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondering if anyone else has seen this?&amp;nbsp; It's a small table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems like:&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/kb/17/006.html"&gt;http://support.sas.com/kb/17/006.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example below, I get similar error using a libname with implicit pass-through.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;6870&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +proc sql;
6871&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&amp;nbsp; Connect to odbc(datasrc=... readbuff=250);
ODBC: AUTOCOMMIT is YES for connection 0
6872&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +
6873&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&amp;nbsp; Select * from Connection to odbc
6874&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&amp;nbsp; (select * from Mytable)
6875&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; +&amp;nbsp; ;
 
ODBC_49: Prepared: on connection 0
select * from Mytable 
 
ODBC_50: Executed: on connection 0
Prepared statement ODBC_49
 
ERROR:&amp;nbsp; An exception has been encountered.
Please contact technical support and provide them with the following traceback 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; information:
 
The SAS task name is [SQL (52)]
ERROR:&amp;nbsp; Read Access Violation SQL (52)
Exception occurred at (02D10425)
Task Traceback
Address&amp;nbsp;&amp;nbsp; Frame&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (DBGHELP API Version 4.0 rev 5)
0000000002D10425&amp;nbsp; 000000000A09D5F0&amp;nbsp; saswob:tkvercn1+0xF3E5
00000000078C380F&amp;nbsp; 000000000A09D5F8&amp;nbsp; saswobc:tkvercn1+0x27CF
00000000075F7C58&amp;nbsp; 000000000A09D738&amp;nbsp; sasods:tkvercn1+0x186C18
00000000075FE619&amp;nbsp; 000000000A09D830&amp;nbsp; sasods:tkvercn1+0x18D5D9
000000000753173C&amp;nbsp; 000000000A09DBB0&amp;nbsp; sasods:tkvercn1+0xC06FC
00000000083D9828&amp;nbsp; 000000000A09DBB8&amp;nbsp; sasoda:tkvercn1+0x287E8
00000000083C5E21&amp;nbsp; 000000000A09E230&amp;nbsp; sasoda:tkvercn1+0x14DE1
00000000083C23C8&amp;nbsp; 000000000A09EC30&amp;nbsp; sasoda:tkvercn1+0x11388
0000000008CA2488&amp;nbsp; 000000000A09EC38&amp;nbsp; sasmrk:tkvercn1+0xD1448
0000000008C46B86&amp;nbsp; 000000000A09ECF0&amp;nbsp; sasmrk:tkvercn1+0x75B46
00000000085BDB88&amp;nbsp; 000000000A09ECF8&amp;nbsp; sasxml:tkvercn1+0x5CB48
0000000008562FB3&amp;nbsp; 000000000A09EE10&amp;nbsp; sasxml:tkvercn1+0x1F73
00000000083D9828&amp;nbsp; 000000000A09EE50&amp;nbsp; sasoda:tkvercn1+0x287E8
00000000083C02E5&amp;nbsp; 000000000A09F2F0&amp;nbsp; sasoda:tkvercn1+0xF2A5
00000000075F7C58&amp;nbsp; 000000000A09F330&amp;nbsp; sasods:tkvercn1+0x186C18
00000000074A2628&amp;nbsp; 000000000A09F550&amp;nbsp; sasods:tkvercn1+0x315E8
00000000074A1EA9&amp;nbsp; 000000000A09F650&amp;nbsp; sasods:tkvercn1+0x30E69
0000000007D555A8&amp;nbsp; 000000000A09F658&amp;nbsp; sassqx:tkvercn1+0x44568
0000000007D39238&amp;nbsp; 000000000A09F750&amp;nbsp; sassqx:tkvercn1+0x281F8
0000000007D37827&amp;nbsp; 000000000A09F870&amp;nbsp; sassqx:tkvercn1+0x267E7
0000000007D39F8D&amp;nbsp; 000000000A09F8D0&amp;nbsp; sassqx:tkvercn1+0x28F4D
0000000007D481BB&amp;nbsp; 000000000A09F920&amp;nbsp; sassqx:tkvercn1+0x3717B
0000000007D406CD&amp;nbsp; 000000000A09FC20&amp;nbsp; sassqx:tkvercn1+0x2F68D
0000000007A0132A&amp;nbsp; 000000000A09FC28&amp;nbsp; sassql:tkvercn1+0x2EA
0000000001D28FD7&amp;nbsp; 000000000A09FCB8&amp;nbsp; sashost:Main+0xF917
0000000001D2D5FD&amp;nbsp; 000000000A09FF50&amp;nbsp; sashost:Main+0x13F3D
00000000776959ED&amp;nbsp; 000000000A09FF58&amp;nbsp; kernel32:BaseThreadInitThunk+0xD
00000000778CC541&amp;nbsp; 000000000A09FF88&amp;nbsp; ntdll:RtlUserThreadStart+0x21

&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Yes, I know it says to contact tech support.&amp;nbsp; I would if I really needed a solution at this point (I can live with the defaults readbuff as it's a small table) , and if I could do more testing.&amp;nbsp; It's mostly Friday curiousity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Q.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jun 2014 15:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Oracle-readbuff-error/m-p/187543#M265761</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2014-06-06T15:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: SAS/ACCESS Oracle readbuff error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Oracle-readbuff-error/m-p/328173#M265762</link>
      <description>&lt;P&gt;Hi, I have the same problem on Linux. See &lt;A href="http://support.sas.com/kb/57/877.html" target="_blank"&gt;http://support.sas.com/kb/57/877.html&lt;/A&gt;. The readbuff does not seem to work well with the oracle client, so rather set the FetchBufferSize.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2017 23:34:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-ACCESS-Oracle-readbuff-error/m-p/328173#M265762</guid>
      <dc:creator>Koos</dc:creator>
      <dc:date>2017-01-27T23:34:20Z</dc:date>
    </item>
  </channel>
</rss>

