SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 69399: Trying to bulk load data into Oracle might result in an error or truncation of the inserted data

DetailsHotfixAboutRate It

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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS/ACCESS Interface to Oracle (on SAS Viya)Linux for x64V.03.052020.1.3Viya platform
SAS SystemSAS/ACCESS Interface to Oraclez/OS9.4 TS1M59.4 TS1M8
Microsoft® Windows® for x649.4 TS1M59.4 TS1M8
Microsoft Windows 8 Enterprise 32-bit9.4 TS1M59.4 TS1M8
Microsoft Windows 8 Enterprise x649.4 TS1M59.4 TS1M8
Microsoft Windows 8 Pro 32-bit9.4 TS1M59.4 TS1M8
Microsoft Windows 8 Pro x649.4 TS1M59.4 TS1M8
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M59.4 TS1M8
Microsoft Windows 8.1 Enterprise x649.4 TS1M59.4 TS1M8
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M59.4 TS1M8
Microsoft Windows 8.1 Pro x649.4 TS1M59.4 TS1M8
Microsoft Windows 109.4 TS1M59.4 TS1M8
Microsoft Windows Server 20089.4 TS1M59.4 TS1M8
Microsoft Windows Server 2008 R29.4 TS1M59.4 TS1M8
Microsoft Windows Server 2008 for x649.4 TS1M59.4 TS1M8
Microsoft Windows Server 2012 Datacenter9.4 TS1M59.4 TS1M8
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M59.4 TS1M8
Microsoft Windows Server 2012 R2 Std9.4 TS1M59.4 TS1M8
Microsoft Windows Server 2012 Std9.4 TS1M59.4 TS1M8
Microsoft Windows Server 20169.4 TS1M59.4 TS1M8
Windows 7 Enterprise 32 bit9.4 TS1M59.4 TS1M8
Windows 7 Enterprise x649.4 TS1M59.4 TS1M8
Windows 7 Home Premium 32 bit9.4 TS1M59.4 TS1M8
Windows 7 Home Premium x649.4 TS1M59.4 TS1M8
Windows 7 Professional 32 bit9.4 TS1M59.4 TS1M8
Windows 7 Professional x649.4 TS1M59.4 TS1M8
Windows 7 Ultimate 32 bit9.4 TS1M59.4 TS1M8
Windows 7 Ultimate x649.4 TS1M59.4 TS1M8
64-bit Enabled AIX9.4 TS1M59.4 TS1M8
64-bit Enabled Solaris9.4 TS1M59.4 TS1M8
HP-UX IPF9.4 TS1M59.4 TS1M8
Linux for x649.4 TS1M59.4 TS1M8
Solaris for x649.4 TS1M59.4 TS1M8
* 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.