<?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: How not to print result but only output in proc univariate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-not-to-print-result-but-only-output-in-proc-univariate/m-p/717484#M221892</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS SELECT NONE;
&amp;lt;insert your sas code&amp;gt;;
ODS SELECT ALL;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Use either ODS SELECT or EXCLUDE to conditionally display output.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ALL/NONE are keywords as well, to select all tables or none.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2018/11/19/select-ods-tables-wildcards-regular-expressions-sas.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2018/11/19/select-ods-tables-wildcards-regular-expressions-sas.html&lt;/A&gt;&lt;/P&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/212695"&gt;@Phil_NZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi SAS Users,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Today when I run the proc univariate and using Output delivery system to get the Quantiles dataset, I receive both the results from Proc Univariate and the output of Quantiles.&lt;/P&gt;
&lt;P&gt;In particular, my code is as below&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output Quantiles=outlier;
proc univariate data=sashelp.shoes;
var sales Inventory;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;By running this code, I have one result and one output&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_0-1612748636257.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54442iD69FE4EB309C73CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="My97_0-1612748636257.png" alt="My97_0-1612748636257.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_1-1612748657351.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54443i089FBB4872F27FCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="My97_1-1612748657351.png" alt="My97_1-1612748657351.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am wondering what I should do to not show the result but show only the output data?&lt;/P&gt;
&lt;P&gt;I have tried&lt;STRONG&gt; no print&lt;/STRONG&gt; option and &lt;STRONG&gt;ods exclude all;&lt;/STRONG&gt; but they all not work the way I want.&lt;/P&gt;
&lt;P&gt;Many thanks and warm regards.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Feb 2021 04:18:45 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-02-08T04:18:45Z</dc:date>
    <item>
      <title>How not to print result but only output in proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-not-to-print-result-but-only-output-in-proc-univariate/m-p/717475#M221887</link>
      <description>&lt;P&gt;Hi SAS Users,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Today when I run the proc univariate and using Output delivery system to get the Quantiles dataset, I receive both the results from Proc Univariate and the output of Quantiles.&lt;/P&gt;
&lt;P&gt;In particular, my code is as below&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output Quantiles=outlier;
proc univariate data=sashelp.shoes;
var sales Inventory;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;By running this code, I have one result and one output&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_0-1612748636257.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54442iD69FE4EB309C73CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="My97_0-1612748636257.png" alt="My97_0-1612748636257.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_1-1612748657351.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54443i089FBB4872F27FCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="My97_1-1612748657351.png" alt="My97_1-1612748657351.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am wondering what I should do to not show the result but show only the output data?&lt;/P&gt;
&lt;P&gt;I have tried&lt;STRONG&gt; no print&lt;/STRONG&gt; option and &lt;STRONG&gt;ods exclude all;&lt;/STRONG&gt; but they all not work the way I want.&lt;/P&gt;
&lt;P&gt;Many thanks and warm regards.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 01:46:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-not-to-print-result-but-only-output-in-proc-univariate/m-p/717475#M221887</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-02-08T01:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: How not to print result but only output in proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-not-to-print-result-but-only-output-in-proc-univariate/m-p/717478#M221890</link>
      <description>&lt;P&gt;I think you need to use an ODS SELECT statement, something like: ODS select quantiles;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 03:40:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-not-to-print-result-but-only-output-in-proc-univariate/m-p/717478#M221890</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-02-08T03:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: How not to print result but only output in proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-not-to-print-result-but-only-output-in-proc-univariate/m-p/717483#M221891</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your suggestion, but when running this code, I only get results but not output, while what I need is output but not result.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods select Quantiles;
proc univariate data=sashelp.shoes;
var sales Inventory;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_0-1612756234665.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54446i7F2CDDB8BA6764B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="My97_0-1612756234665.png" alt="My97_0-1612756234665.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 03:50:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-not-to-print-result-but-only-output-in-proc-univariate/m-p/717483#M221891</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-02-08T03:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: How not to print result but only output in proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-not-to-print-result-but-only-output-in-proc-univariate/m-p/717484#M221892</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS SELECT NONE;
&amp;lt;insert your sas code&amp;gt;;
ODS SELECT ALL;&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Use either ODS SELECT or EXCLUDE to conditionally display output.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ALL/NONE are keywords as well, to select all tables or none.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/iml/2018/11/19/select-ods-tables-wildcards-regular-expressions-sas.html" target="_blank"&gt;https://blogs.sas.com/content/iml/2018/11/19/select-ods-tables-wildcards-regular-expressions-sas.html&lt;/A&gt;&lt;/P&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/212695"&gt;@Phil_NZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi SAS Users,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Today when I run the proc univariate and using Output delivery system to get the Quantiles dataset, I receive both the results from Proc Univariate and the output of Quantiles.&lt;/P&gt;
&lt;P&gt;In particular, my code is as below&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output Quantiles=outlier;
proc univariate data=sashelp.shoes;
var sales Inventory;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;By running this code, I have one result and one output&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_0-1612748636257.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54442iD69FE4EB309C73CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="My97_0-1612748636257.png" alt="My97_0-1612748636257.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="My97_1-1612748657351.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/54443i089FBB4872F27FCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="My97_1-1612748657351.png" alt="My97_1-1612748657351.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am wondering what I should do to not show the result but show only the output data?&lt;/P&gt;
&lt;P&gt;I have tried&lt;STRONG&gt; no print&lt;/STRONG&gt; option and &lt;STRONG&gt;ods exclude all;&lt;/STRONG&gt; but they all not work the way I want.&lt;/P&gt;
&lt;P&gt;Many thanks and warm regards.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 04:18:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-not-to-print-result-but-only-output-in-proc-univariate/m-p/717484#M221892</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-02-08T04:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: How not to print result but only output in proc univariate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-not-to-print-result-but-only-output-in-proc-univariate/m-p/717489#M221896</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much, I found the code to deal with my need from your suggestion&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods select None;
proc univariate data=sashelp.shoes ;
var sales Inventory;
ods output Quantiles=outlier;
run;
ods select all;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Many thanks and warm regards.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 04:31:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-not-to-print-result-but-only-output-in-proc-univariate/m-p/717489#M221896</guid>
      <dc:creator>Phil_NZ</dc:creator>
      <dc:date>2021-02-08T04:31:02Z</dc:date>
    </item>
  </channel>
</rss>

