Problem Note 69399: Trying to bulk load data into Oracle might result in an error or truncation of the inserted data
Trying to bulk load data into Oracle might result in an error or truncation of the inserted data.
Scenario1
The error might occur if the following are true:
- You use SAS® 9.4M5 (TS1M5) or later, SAS® Viya® 3.5, or a SAS® Viya® release earlier than 2020.1.3.
- You use the BULKLOAD=YES and BL_API_BULKLOAD=YES options in your LIBNAME statement or as data set options.
- Your Oracle table contains a column that is defined as VARCHAR2(1 BYTE).
The error might look similar to the following:
ORA-26093: input data column size (65535) exceeds the maximum input size (1).
Scenario 2
The truncation of the data might occur if the following are true:
- You use SAS 9.4M5 or later, SAS Viya 3.5, or a SAS Viya release earlier than 2020.1.3.
- You use the BULKLOAD=YES and BL_API_BULKLOAD=YES options in your LIBNAME statement or as data set options.
- One of your character columns is defined as NOT NULL.
- The data that is inserted into the not null column is blank.
- The NULLCHARVAL= option is set to a value that is longer in length than the Oracle column length - 2.
There is no workaround for these issues.
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Oracle | z/OS | 9.4 TS1M5 | |
Microsoft® Windows® for x64 | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise 32-bit | 9.4 TS1M5 | |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M5 | |
Microsoft Windows 8 Pro 32-bit | 9.4 TS1M5 | |
Microsoft Windows 8 Pro x64 | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise 32-bit | 9.4 TS1M5 | |
Microsoft Windows 8.1 Enterprise x64 | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro 32-bit | 9.4 TS1M5 | |
Microsoft Windows 8.1 Pro x64 | 9.4 TS1M5 | |
Microsoft Windows 10 | 9.4 TS1M5 | |
Microsoft Windows Server 2008 | 9.4 TS1M5 | |
Microsoft Windows Server 2008 R2 | 9.4 TS1M5 | |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Datacenter | 9.4 TS1M5 | |
Microsoft Windows Server 2012 R2 Std | 9.4 TS1M5 | |
Microsoft Windows Server 2012 Std | 9.4 TS1M5 | |
Microsoft Windows Server 2016 | 9.4 TS1M5 | |
Windows 7 Enterprise 32 bit | 9.4 TS1M5 | |
Windows 7 Enterprise x64 | 9.4 TS1M5 | |
Windows 7 Home Premium 32 bit | 9.4 TS1M5 | |
Windows 7 Home Premium x64 | 9.4 TS1M5 | |
Windows 7 Professional 32 bit | 9.4 TS1M5 | |
Windows 7 Professional x64 | 9.4 TS1M5 | |
Windows 7 Ultimate 32 bit | 9.4 TS1M5 | |
Windows 7 Ultimate x64 | 9.4 TS1M5 | |
64-bit Enabled AIX | 9.4 TS1M5 | |
64-bit Enabled Solaris | 9.4 TS1M5 | |
HP-UX IPF | 9.4 TS1M5 | |
Linux for x64 | 9.4 TS1M5 | |
Solaris for x64 | 9.4 TS1M5 | |
*
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.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2022-08-16 09:28:30 |
Date Created: | 2022-07-18 16:34:07 |