<?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 How to TURN OFF SQL Warning MSG in LOG ?! in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-TURN-OFF-SQL-Warning-MSG-in-LOG/m-p/883418#M349043</link>
    <description>&lt;P&gt;Running data macros with huge loops.&amp;nbsp; Need merge data tables and does not like to create table a table(so there is&lt;/P&gt;
&lt;P&gt;SQL WARNING, ... recursively reference...). The loop contains lots of merges like this. Surely I can create new tables,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUT for speed and storage issue, prefer not to.&amp;nbsp; But the LOG is choke of warning MSG like this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any one knows how to turn off. Thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a post, similar to my problem. but no solution.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-do-I-turn-off-log-warnings-in-bacth-mode/m-p/445610" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-do-I-turn-off-log-warnings-in-bacth-mode/m-p/445610&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jul 2023 11:13:35 GMT</pubDate>
    <dc:creator>hellohere</dc:creator>
    <dc:date>2023-07-04T11:13:35Z</dc:date>
    <item>
      <title>How to TURN OFF SQL Warning MSG in LOG ?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-TURN-OFF-SQL-Warning-MSG-in-LOG/m-p/883418#M349043</link>
      <description>&lt;P&gt;Running data macros with huge loops.&amp;nbsp; Need merge data tables and does not like to create table a table(so there is&lt;/P&gt;
&lt;P&gt;SQL WARNING, ... recursively reference...). The loop contains lots of merges like this. Surely I can create new tables,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUT for speed and storage issue, prefer not to.&amp;nbsp; But the LOG is choke of warning MSG like this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any one knows how to turn off. Thanks,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is a post, similar to my problem. but no solution.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-do-I-turn-off-log-warnings-in-bacth-mode/m-p/445610" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-do-I-turn-off-log-warnings-in-bacth-mode/m-p/445610&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 11:13:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-TURN-OFF-SQL-Warning-MSG-in-LOG/m-p/883418#M349043</guid>
      <dc:creator>hellohere</dc:creator>
      <dc:date>2023-07-04T11:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to TURN OFF SQL Warning MSG in LOG ?!</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-TURN-OFF-SQL-Warning-MSG-in-LOG/m-p/883420#M349044</link>
      <description>&lt;P&gt;if you mean your log shows the warning:&lt;/P&gt;
&lt;P&gt;"WARNING: This CREATE TABLE statement recursively references the target table. A consequence of this is a possible data integrity problem."&lt;/P&gt;
&lt;P&gt;then the best way would be not to overwrite your datasets but to create new ones.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can nevertheless add this option to your PROC SQL:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC SQL undo_policy=none;
&amp;lt;statements&amp;gt;
QUIT;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;or specify the system option:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options SQLUNDOPOLICY=NONE;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 11:29:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-TURN-OFF-SQL-Warning-MSG-in-LOG/m-p/883420#M349044</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2023-07-04T11:29:11Z</dc:date>
    </item>
  </channel>
</rss>

