SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 58291: SAS/ACCESS® Interface to Netezza fails and returns "CLI open cursor" and "LIMIT" errors

DetailsHotfixAboutRate It

When you use SAS/ACCESS Interface to Netezza, you might receive this error:

ERROR: CLI open cursor error: ERROR: 'imit 10 ' error ^ found "LIMIT" (at char 0) expecting a keyword

The problem occurs when you use SAS/ACCESS Interface to Netezza under the following conditions:

  • You are using the Netezza 7.2.0.5-P2 [Build 45588] ODBC driver.
  • The BULKUNLOAD=YES option is specified in the Netezza LIBNAME statement.
  • A DATA step that uses the OBS= data set option was used.

Example of Code That Produces the Error

libname test netezza server=server-name user=user-ID pwd=password database=database-name schema=schema bulkunload=yes; data temp1; set test.air(obs=10); run;

Workarounds

If You Are Using SAS 9.4 M3

  1. Obtain the Netezza ODBC driver version 7.2.1.3 from IBM.
  2. Click the Hot Fix tab in this note to access the hot fix for this issue.

If You Are Using SAS 9.4 M4

  • Obtain the Netezza ODBC driver version 7.2.1.3 from IBM to fix this issue.


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to NetezzaMicrosoft® Windows® for x649.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows 8 Enterprise 32-bit9.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows 8 Enterprise x649.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows 8 Pro 32-bit9.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows 8 Pro x649.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Enterprise 32-bit9.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Enterprise x649.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Pro 32-bit9.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows 8.1 Pro x649.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows 109.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows Server 20089.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows Server 2008 R29.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows Server 2008 for x649.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 Datacenter9.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 R2 Datacenter9.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 R2 Std9.4_M39.4_M49.4 TS1M39.4 TS1M4
Microsoft Windows Server 2012 Std9.4_M39.4_M49.4 TS1M39.4 TS1M4
Windows 7 Enterprise 32 bit9.4_M39.4_M49.4 TS1M39.4 TS1M4
Windows 7 Enterprise x649.4_M39.4_M49.4 TS1M39.4 TS1M4
Windows 7 Home Premium 32 bit9.4_M39.4_M49.4 TS1M39.4 TS1M4
Windows 7 Home Premium x649.4_M39.4_M49.4 TS1M39.4 TS1M4
Windows 7 Professional 32 bit9.4_M39.4_M49.4 TS1M39.4 TS1M4
Windows 7 Professional x649.4_M39.4_M49.4 TS1M39.4 TS1M4
Windows 7 Ultimate 32 bit9.4_M39.4_M49.4 TS1M39.4 TS1M4
Windows 7 Ultimate x649.4_M39.4_M49.4 TS1M39.4 TS1M4
64-bit Enabled AIX9.4_M39.4_M49.4 TS1M39.4 TS1M4
64-bit Enabled Solaris9.4_M39.4_M49.4 TS1M39.4 TS1M4
HP-UX IPF9.4_M39.4_M49.4 TS1M39.4 TS1M4
Linux for x649.4_M39.4_M49.4 TS1M39.4 TS1M4
* 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.