<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS CONNECT TO ORACLE: Tracing Number of Merged Rows in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SAS-CONNECT-TO-ORACLE-Tracing-Number-of-Merged-Rows/m-p/322350#M271091</link>
    <description>&lt;P&gt;The SASTRACE options only&amp;nbsp;affects the logging when using a Libname connection. So it won't affect any explicit pass through operation&amp;nbsp;logging.&lt;/P&gt;
&lt;P&gt;Since you ave an explicit Oracle&amp;nbsp;SQL statement, I would&amp;nbsp;first run this in a native&amp;nbsp;a Oracle client and see what kind of logs you get there. Then talk your Oracle&amp;nbsp;DBA if he&amp;amp;she has any ideas how this information could be sent back to other clients. If not solved then, engage SAS tech support.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2017 08:09:56 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2017-01-04T08:09:56Z</dc:date>
    <item>
      <title>SAS CONNECT TO ORACLE: Tracing Number of Merged Rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-CONNECT-TO-ORACLE-Tracing-Number-of-Merged-Rows/m-p/322283#M271090</link>
      <description>&lt;P&gt;Hello!,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We&amp;nbsp;have here a doubt with SAS/ACCESS Interface to ORACLE maybe someone over here could help us with. We have SAS 9.2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When we run&amp;nbsp;a explicit (something like "EXECUTE(statement) &amp;nbsp;by oracle;") INSERT statement we&amp;nbsp;see&amp;nbsp;in our SAS log a message like "ORACLE: XXX rows inserted/updated/deleted." We are using the SAS options:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OPTIONS SASTRACE=',,,d' SASTRACELOC=SASLOG NOSTSUFFIX;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless, for the Oracle native MERGE (not the SAS one) in a EXECUTE(), with the same trace options, we&amp;nbsp;don't find any trace in the SAS log on how many rows where merged. But we receive something like "YYY&amp;nbsp;rows merged." in Oracle SQLPLUS or SQL DEVELOPER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you&amp;nbsp;how can we show number of merged rows (no matter updates/inserts) in the SAS LOG?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 23:28:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-CONNECT-TO-ORACLE-Tracing-Number-of-Merged-Rows/m-p/322283#M271090</guid>
      <dc:creator>blert</dc:creator>
      <dc:date>2017-01-03T23:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: SAS CONNECT TO ORACLE: Tracing Number of Merged Rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-CONNECT-TO-ORACLE-Tracing-Number-of-Merged-Rows/m-p/322350#M271091</link>
      <description>&lt;P&gt;The SASTRACE options only&amp;nbsp;affects the logging when using a Libname connection. So it won't affect any explicit pass through operation&amp;nbsp;logging.&lt;/P&gt;
&lt;P&gt;Since you ave an explicit Oracle&amp;nbsp;SQL statement, I would&amp;nbsp;first run this in a native&amp;nbsp;a Oracle client and see what kind of logs you get there. Then talk your Oracle&amp;nbsp;DBA if he&amp;amp;she has any ideas how this information could be sent back to other clients. If not solved then, engage SAS tech support.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 08:09:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-CONNECT-TO-ORACLE-Tracing-Number-of-Merged-Rows/m-p/322350#M271091</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-01-04T08:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAS CONNECT TO ORACLE: Tracing Number of Merged Rows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SAS-CONNECT-TO-ORACLE-Tracing-Number-of-Merged-Rows/m-p/322357#M271092</link>
      <description>&lt;DIV&gt;We are in contact with our DBA.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;We also have noticed that for the statements (for example UPDATE) we get trace in SAS LOG, it seems different and more general than the one provided by Oracle client. For example when running an INSERT in an EXECUTE():&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;ORACLE Client: "XXX rows updated"&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;EXECUTE: "XXX rows inserted/updated/deleted."&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;We dont know why this happens, maybe its related on how SAS connects to Oracle.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;We still are looking for a way to show MERGE trace but this above maybe is related to that.&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Jan 2017 09:48:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SAS-CONNECT-TO-ORACLE-Tracing-Number-of-Merged-Rows/m-p/322357#M271092</guid>
      <dc:creator>blert</dc:creator>
      <dc:date>2017-01-04T09:48:05Z</dc:date>
    </item>
  </channel>
</rss>

