Problem Note 59876: "CLI prepare error: More than one active statements is not yet supported on the same connection" occurs when you use SAS/ACCESS® Interface to Netezza
You might encounter the following error when using the SQL procedure in SAS/ACCESS Interface to Netezza:
ERROR: CLI prepare error: More than one active statements is not yet supported on the same connection
This error occurs under the following conditions:
- You assign two librefs to Netezza in the Netezza LIBNAME statement.
- Both librefs specify CONNECTION=GLOBAL.
- You are trying to create a PROC SQL join between two Netezza tables and a Work table.
Here is an example using a Work data set to illustrate this issue:
libname nzdb netezza server=nz-server database=nz-db user=user-ID password=nz-password schema=nz-schema connection=global;
libname nztemp netezza server=nz-server database=nz-db user=user-ID password=nz-password dbmstemp=yes connection=global;
proc sql;
create table work.c as
(
select a.model,b.count
from nzdb.sas_testcars a, nzdb.sas_failure b, work.cars c
where a.cylinders = b.count
and a.model=c.model
);
quit;
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Netezza | Microsoft® Windows® for x64 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise 32-bit | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8 Enterprise x64 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8 Pro 32-bit | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8 Pro x64 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8.1 Enterprise x64 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro 32-bit | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 8.1 Pro x64 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows 10 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2008 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2008 R2 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2008 for x64 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Datacenter | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Datacenter | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2012 R2 Std | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Microsoft Windows Server 2012 Std | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Enterprise 32 bit | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Enterprise x64 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Home Premium 32 bit | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Home Premium x64 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Professional 32 bit | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Professional x64 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Ultimate 32 bit | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Windows 7 Ultimate x64 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
64-bit Enabled AIX | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
64-bit Enabled Solaris | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
HP-UX IPF | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.4 TS1M4 |
Linux for x64 | 9.4_M3 | 9.41 | 9.4 TS1M3 | 9.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.
When you use SAS/ACCESS Interface to Netezza, an error might occur if you use multiple operations in the same CONNECTION= option.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2017-02-16 13:41:53 |
Date Created: | 2017-02-02 11:54:24 |