01-03-2017 06:22 PM - edited 01-03-2017 06:28 PM
We have here a doubt with SAS/ACCESS Interface to ORACLE maybe someone over here could help us with. We have SAS 9.2.
When we run a explicit (something like "EXECUTE(statement) by oracle;") INSERT statement we see in our SAS log a message like "ORACLE: XXX rows inserted/updated/deleted." We are using the SAS options:
OPTIONS SASTRACE=',,,d' SASTRACELOC=SASLOG NOSTSUFFIX;
Nevertheless, for the Oracle native MERGE (not the SAS one) in a EXECUTE(), with the same trace options, we don't find any trace in the SAS log on how many rows where merged. But we receive something like "YYY rows merged." in Oracle SQLPLUS or SQL DEVELOPER.
Do you how can we show number of merged rows (no matter updates/inserts) in the SAS LOG?
01-04-2017 03:09 AM
The SASTRACE options only affects the logging when using a Libname connection. So it won't affect any explicit pass through operation logging.
Since you ave an explicit Oracle SQL statement, I would first run this in a native a Oracle client and see what kind of logs you get there. Then talk your Oracle DBA if he&she has any ideas how this information could be sent back to other clients. If not solved then, engage SAS tech support.
01-04-2017 04:48 AM