SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 62518: SAS® stops responding and "ERROR: Error fetching from cursor...Exception code=6..." occurs when you try to read a wide Oracle table

DetailsHotfixAboutRate It

Your SAS session might stop responding and return the following error when you try to read a very wide Oracle table:

ERROR: Error fetching from cursor. ORACLE error is RDBMS I/O thread exception.
Exception code=6, in_RDBMS_call=0.
ERROR:  An exception has been encountered.
Please contact technical support and provide them with the following traceback information:

This issue occurs under the following conditions:

  • You try to read a very wide Oracle table with READBUFF=100000 in the LIBNAME statement.
  • The MEMSIZE option is set to 8G.

To work around this problem, change the READBUFF option in the LIBNAME statement to READBUFF=10000. Another workaround is to set the SAS_ACCESS_PIPELINEREAD=OFF environment variable.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/ACCESS Interface to Oracle64-bit Enabled AIX9.4 TS1M49.4 TS1M6
64-bit Enabled Solaris9.4 TS1M49.4 TS1M6
HP-UX IPF9.4 TS1M49.4 TS1M6
Linux for x649.4 TS1M49.4 TS1M6
Solaris for x649.4 TS1M49.4 TS1M6
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.