Problem Note 65898: A misleading SASTRACE message appears in the log when you insert a row into an Oracle table using SAS/ACCESS® Interface to Oracle with DBIDIRECTEXEC
If you have SASTRACE turned on, an incorrect message appears when you insert a row into an Oracle table with the DBIDIRECTEXEC option.
For example, when you insert only one row into an Oracle table with DBIDIRECTEXEC, the trace message should show the following:
ORACLE: 1 rows inserted/updated/deleted.
Instead, the trace message shows the following:
ORACLE: 4294967296 rows inserted/updated/deleted.
You encounter this issue when you submit code similar to the following:
libname x oracle user=user_ID password=password path=db_path;
proc sql;
insert into x.tab80 values (2,2,2);
quit;
After you run the code, you see the following in the SAS log (if you have SASTRACE enabled):
options dbidirectexec;
proc sql;
insert into x.TAB80 values (2,2,2);
ORACLE_1: Prepared: on connection 0
SELECT * FROM TAB80
ORACLE_2: Executed: on connection 1
insert into TAB80 ("A", "B", "C") values (2, 2, 2)
ORACLE: 4294967296 rows inserted/updated/deleted.
ORACLE: *-*-*-*-*-*-* COMMIT *-*-*-*-*-*-*
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 Oracle | Linux for x64 | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
HP-UX IPF | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
64-bit Enabled Solaris | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
64-bit Enabled AIX | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Windows 7 Ultimate x64 | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows Server 2016 | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows Server 2012 Std | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows Server 2012 R2 Std | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows Server 2012 R2 Datacenter | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows 8 Pro x64 | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows 8.1 Enterprise 32-bit | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows 8.1 Enterprise x64 | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows 8.1 Pro 32-bit | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows 8.1 Pro x64 | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows 10 | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows Server 2012 Datacenter | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows 8 Enterprise x64 | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft Windows 8 Enterprise 32-bit | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Microsoft® Windows® for x64 | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
Solaris for x64 | 9.42 | 9.44 | 9.4 TS1M5 | 9.4 TS1M7 |
*
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 add one row to an Oracle table using DBIDIRECTEXEC, you see the following misleading trace message: "ORACLE: 4294967296 rows inserted/updated/deleted." You should see something similar to the following: "ORACLE: 1 rows inserted/updated/deleted."
Type: | Problem Note |
Priority: | high |
Date Modified: | 2020-04-30 12:52:24 |
Date Created: | 2020-04-28 14:53:41 |