<?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 to suppress output in results window when using PROC SURVEYMEANS? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-suppress-output-in-results-window-when-using-PROC/m-p/916420#M83326</link>
    <description>&lt;P&gt;Hi SASJedi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it looks like it worked! Thanks a lot for your superswift reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nerlo&lt;/P&gt;</description>
    <pubDate>Fri, 16 Feb 2024 09:56:32 GMT</pubDate>
    <dc:creator>Nerlo</dc:creator>
    <dc:date>2024-02-16T09:56:32Z</dc:date>
    <item>
      <title>How to suppress output in results window when using PROC SURVEYMEANS?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-suppress-output-in-results-window-when-using-PROC/m-p/916290#M83319</link>
      <description>&lt;P&gt;Hello to the SAS Community!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really need your help, because I am a bit stuck with a little problem. I apologize if the question is perhaps bit dumb, but I am still in the early phases of my SAS learning process &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using PROC SURVEYMEANS to calculate geometric mean and geometric std. The step with this procedure belongs to a bigger macro, which calculates several statistics and which is supposed to produce - at the end - only the final table, without showing any other window. I have already suppressed all the other outputs to the results window from the other various procedures that the macro uses (for example, PROC MEANS, or PROC SQL) by simply using the noprint option for each one of them. Unfortunately I was not able to do it for PROC SURVEYMEANS and I don't really know how to solve my problem.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can somebody help me with that?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance to all of you!&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 12:43:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-suppress-output-in-results-window-when-using-PROC/m-p/916290#M83319</guid>
      <dc:creator>Nerlo</dc:creator>
      <dc:date>2024-02-15T12:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress output in results window when using PROC SURVEYMEANS?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-suppress-output-in-results-window-when-using-PROC/m-p/916291#M83320</link>
      <description>&lt;P&gt;You can use the ODS SELECT statement to suppress and restore output. Example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data IceCream;
   input Grade Spending @@;
   if Grade=7 then Prob=20/1824;
   if Grade=8 then Prob=9/1025;
   if Grade=9 then Prob=11/1151;
   Weight=1/Prob;
   datalines;
7 7  7  7  8  .  9 10  7  .  7 10  7  3  8 20  8 19  7 2
7 .  9 15  8 16  7  6  7  6  7  6  9 15  8 17  8 14  9 .
9 8  9  7  7  3  7 12  7  4  9 14  8 18  9  9  7  2  7 1
7 4  7 11  9  8  8  .  8 13  7  .  9  .  9 11  7  2  7 9
;

data StudentTotals;
   input Grade _total_;
   datalines;
7 1824
8 1025
9 1151
;

&lt;FONT color="#000000"&gt;&lt;STRONG&gt;ods select none;&lt;/STRONG&gt;&lt;/FONT&gt;
title 'Analysis of Ice Cream Spending';
proc surveymeans data=IceCream total=StudentTotals nomcar mean sum;
   strata Grade;
   var Spending;
   weight Weight;
run;

&lt;FONT color="#000000"&gt;&lt;STRONG&gt;ods select all;&lt;/STRONG&gt;&lt;/FONT&gt;
proc print data=StudentTotals;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 15 Feb 2024 12:57:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-suppress-output-in-results-window-when-using-PROC/m-p/916291#M83320</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2024-02-15T12:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress output in results window when using PROC SURVEYMEANS?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-suppress-output-in-results-window-when-using-PROC/m-p/916420#M83326</link>
      <description>&lt;P&gt;Hi SASJedi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it looks like it worked! Thanks a lot for your superswift reply &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nerlo&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2024 09:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-suppress-output-in-results-window-when-using-PROC/m-p/916420#M83326</guid>
      <dc:creator>Nerlo</dc:creator>
      <dc:date>2024-02-16T09:56:32Z</dc:date>
    </item>
  </channel>
</rss>

