<?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 Suppressing PROC SQL Output from the &amp;quot;Output Data&amp;quot; Tab in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-PROC-SQL-Output-from-the-quot-Output-Data-quot-Tab/m-p/431452#M281705</link>
    <description>&lt;P&gt;Good day all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a SQL loop that is producing 10 tabs of data, one for each year I run for my loop.&amp;nbsp; In a second step, I am UNIONing the data into a singular data set.&amp;nbsp; While I want the data sets to populate the SAS library I've designated, I do not want those 10 data sets to show up in the output tab. What's the easiest way to suppress them, in a sql statement, from the "Output Data" tab?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jan 2018 20:50:52 GMT</pubDate>
    <dc:creator>eer_seer</dc:creator>
    <dc:date>2018-01-26T20:50:52Z</dc:date>
    <item>
      <title>Suppressing PROC SQL Output from the "Output Data" Tab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-PROC-SQL-Output-from-the-quot-Output-Data-quot-Tab/m-p/431452#M281705</link>
      <description>&lt;P&gt;Good day all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a SQL loop that is producing 10 tabs of data, one for each year I run for my loop.&amp;nbsp; In a second step, I am UNIONing the data into a singular data set.&amp;nbsp; While I want the data sets to populate the SAS library I've designated, I do not want those 10 data sets to show up in the output tab. What's the easiest way to suppress them, in a sql statement, from the "Output Data" tab?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 20:50:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-PROC-SQL-Output-from-the-quot-Output-Data-quot-Tab/m-p/431452#M281705</guid>
      <dc:creator>eer_seer</dc:creator>
      <dc:date>2018-01-26T20:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing PROC SQL Output from the "Output Data" Tab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-PROC-SQL-Output-from-the-quot-Output-Data-quot-Tab/m-p/431460#M281706</link>
      <description>&lt;P&gt;Wrap it in a CREATE TABLE statement then, or use NOPRINT. However, if you don't have a CREATE TABLE statement the results aren't stored anywhere.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sql;

create table want as
select * from 
(select....
union
select ...
union 
select ..

);

quit;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/92495"&gt;@eer_seer&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Good day all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a SQL loop that is producing 10 tabs of data, one for each year I run for my loop.&amp;nbsp; In a second step, I am UNIONing the data into a singular data set.&amp;nbsp; While I want the data sets to populate the SAS library I've designated, I do not want those 10 data sets to show up in the output tab. What's the easiest way to suppress them, in a sql statement, from the "Output Data" tab?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 21:32:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-PROC-SQL-Output-from-the-quot-Output-Data-quot-Tab/m-p/431460#M281706</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-01-26T21:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing PROC SQL Output from the "Output Data" Tab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-PROC-SQL-Output-from-the-quot-Output-Data-quot-Tab/m-p/431461#M281707</link>
      <description>&lt;P&gt;Post your code so that we can show how to change it.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 21:32:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-PROC-SQL-Output-from-the-quot-Output-Data-quot-Tab/m-p/431461#M281707</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-01-26T21:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing PROC SQL Output from the "Output Data" Tab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-PROC-SQL-Output-from-the-quot-Output-Data-quot-Tab/m-p/431500#M281708</link>
      <description>&lt;P&gt;The only way I know to suppress all tables appearing on the Enterprise Guide Output tab (I'm assuming that is what you are referring to)&amp;nbsp; &amp;nbsp;but still produce the tables is to change the limit of the number of datasets to output from the default 50 to 0 in the EG data settings.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2018 01:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-PROC-SQL-Output-from-the-quot-Output-Data-quot-Tab/m-p/431500#M281708</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2018-01-27T01:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Suppressing PROC SQL Output from the "Output Data" Tab</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Suppressing-PROC-SQL-Output-from-the-quot-Output-Data-quot-Tab/m-p/431507#M281709</link>
      <description>&lt;P&gt;As &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;suggested, the way to prevent the tables from showing is to not create the tables in the first place. They can be created implicitly in a query, and concatenated with UNION ALL.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Jan 2018 02:06:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Suppressing-PROC-SQL-Output-from-the-quot-Output-Data-quot-Tab/m-p/431507#M281709</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-01-27T02:06:22Z</dc:date>
    </item>
  </channel>
</rss>

