Problem Note 67903: Inserting rows into a Netezza table results in the message "ERROR: You can only use BULKLOAD=YES with methods that INSERT/UPDATE data..."
Inserting rows into a Netezza table from a SAS® table might result in an error when the DBIDIRECTEXEC system option is in effect.
Here is an example of what appears in the SAS log (along with a syntax example of the code that causes this issue):
1 LIBNAME Netezza-library NETEZZA connection-options ;
NOTE: Libref Netezza-library was successfully assigned as follows:
Engine: NETEZZA
Physical Name: server-name
2 DATA work.sample ;
3 value = 1 ;
4 RUN ;
5 PROC SQL ;
6 INSERT INTO Netezza-library.Netezza-table(BULKLOAD=YES)
7 SELECT * FROM work.sample
8 ;
ERROR: You can only use BULKLOAD=YES with methods that INSERT/UPDATE data. Use BULKUNLOAD=YES to read data.
NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
9 QUIT;
The only workaround is to use the NODBIDIRECTEXEC system option.
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.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows 8 Enterprise 32-bit | 9.44 | | 9.4 TS1M7 | |
Microsoft Windows 8 Enterprise x64 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows 8 Pro 32-bit | 9.44 | | 9.4 TS1M7 | |
Microsoft Windows 8 Pro x64 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows 8.1 Enterprise 32-bit | 9.44 | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Enterprise x64 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows 8.1 Pro 32-bit | 9.44 | | 9.4 TS1M7 | |
Microsoft Windows 8.1 Pro x64 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows 10 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows Server 2008 | 9.44 | | 9.4 TS1M7 | |
Microsoft Windows Server 2008 R2 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows Server 2008 for x64 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows Server 2012 Datacenter | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows Server 2012 R2 Datacenter | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows Server 2012 R2 Std | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows Server 2012 Std | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows Server 2016 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Microsoft Windows Server 2019 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Windows 7 Enterprise 32 bit | 9.44 | | 9.4 TS1M7 | |
Windows 7 Enterprise x64 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Windows 7 Home Premium 32 bit | 9.44 | | 9.4 TS1M7 | |
Windows 7 Home Premium x64 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Windows 7 Professional 32 bit | 9.44 | | 9.4 TS1M7 | |
Windows 7 Professional x64 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Windows 7 Ultimate 32 bit | 9.44 | | 9.4 TS1M7 | |
Windows 7 Ultimate x64 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
64-bit Enabled AIX | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
64-bit Enabled Solaris | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
HP-UX IPF | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
Linux for x64 | 9.44 | 2020.1 | 9.4 TS1M7 | Viya |
*
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 the SAS® system option DBIDIRECTEXEC, bulk-loading inserted rows into a Netezza table might result in an error.
Type: | Problem Note |
Priority: | high |
Topic: | Data Management ==> Data Sources ==> External Databases ==> Netezza
|
Date Modified: | 2021-06-07 09:39:33 |
Date Created: | 2021-05-13 04:29:28 |