<?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: proc summary in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-summary/m-p/648242#M194142</link>
    <description>&lt;OL&gt;
&lt;LI&gt;Post&amp;nbsp;&lt;U&gt;complete&lt;/U&gt;&amp;nbsp;&lt;U&gt;working&lt;/U&gt;&amp;nbsp;non-macro code of the step you want to repeat. Your code as posted is syntactically invalid.&lt;/LI&gt;
&lt;LI&gt;Post a second example for the second iteration, so we can see what needs to change.&lt;/LI&gt;
&lt;LI&gt;Tell us over which range the iterations need to run.&lt;/LI&gt;
&lt;LI&gt;Use the "little running man" icon to post the code examples.&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Sat, 16 May 2020 06:15:38 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2020-05-16T06:15:38Z</dc:date>
    <item>
      <title>proc summary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-summary/m-p/648218#M194126</link>
      <description>&lt;P&gt;&lt;FONT face="times new roman,times"&gt;hi I have marco that is creating proc summary statement . I wanted to scale in output&amp;nbsp; everything by a number like 2 or 3 . like in below program I want to&amp;nbsp;multiply outdata with a number like 2 or 3 based on I will&amp;nbsp;create a macro&amp;nbsp;on top with %let statement .&amp;nbsp;can anyone help please .&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;FONT size="1" color="#0000ff"&gt;output&lt;/FONT&gt; &lt;FONT size="1" color="#0000ff"&gt;out&lt;/FONT&gt;&lt;FONT size="1"&gt;= outdata (&lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;drop&lt;/FONT&gt;&lt;FONT size="1"&gt;=_type_ _freq_) &lt;/FONT&gt;&lt;FONT size="1" color="#0000ff"&gt;sum&lt;/FONT&gt;&lt;FONT size="1"&gt;=;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde"&gt;&lt;FONT size="1" color="#000080"&gt;run&lt;/FONT&gt;&lt;FONT size="1"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 00:11:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-summary/m-p/648218#M194126</guid>
      <dc:creator>SASUser0001</dc:creator>
      <dc:date>2020-05-16T00:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: proc summary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-summary/m-p/648220#M194128</link>
      <description>&lt;P&gt;You use a data step on the&amp;nbsp; output data from your proc summary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data want;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; set outdata;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;calculations go here&amp;gt;&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 00:48:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-summary/m-p/648220#M194128</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-05-16T00:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: proc summary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-summary/m-p/648223#M194131</link>
      <description>&lt;P&gt;hi this is my programe where should I use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;macro d1(name, list)&lt;/P&gt;&lt;P&gt;proc summary data=total nway missing&lt;/P&gt;&lt;P&gt;　&lt;/P&gt;&lt;P&gt;var &amp;amp;list&lt;/P&gt;&lt;P&gt;output out= data1 (drop=_type_ _freq_) sum=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;run&lt;/P&gt;&lt;P&gt;mend d1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 01:04:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-summary/m-p/648223#M194131</guid>
      <dc:creator>SASUser0001</dc:creator>
      <dc:date>2020-05-16T01:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: proc summary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-summary/m-p/648242#M194142</link>
      <description>&lt;OL&gt;
&lt;LI&gt;Post&amp;nbsp;&lt;U&gt;complete&lt;/U&gt;&amp;nbsp;&lt;U&gt;working&lt;/U&gt;&amp;nbsp;non-macro code of the step you want to repeat. Your code as posted is syntactically invalid.&lt;/LI&gt;
&lt;LI&gt;Post a second example for the second iteration, so we can see what needs to change.&lt;/LI&gt;
&lt;LI&gt;Tell us over which range the iterations need to run.&lt;/LI&gt;
&lt;LI&gt;Use the "little running man" icon to post the code examples.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sat, 16 May 2020 06:15:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-summary/m-p/648242#M194142</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-05-16T06:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc summary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-summary/m-p/648258#M194153</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/322738"&gt;@SASUser0001&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;hi this is my programe where should I use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;macro d1(name, list)&lt;/P&gt;
&lt;P&gt;proc summary data=total nway missing&lt;/P&gt;
&lt;P&gt;　&lt;/P&gt;
&lt;P&gt;var &amp;amp;list&lt;/P&gt;
&lt;P&gt;output out= data1 (drop=_type_ _freq_) sum=&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;run&lt;/P&gt;
&lt;P&gt;mend d1&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;Please help us all out and don't post code that doesn't have semi-colons and doesn't have % signs on the macro commands and has other obvious syntax errors. Please use the "running man" icon and post your code in the window that appears.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13884"&gt;@ballardw&lt;/a&gt; has already explained that you need to do the multiplication in a data step after your PROC SUMMARY, and he has given example code. Give that a try.&lt;/P&gt;</description>
      <pubDate>Sat, 16 May 2020 10:38:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-summary/m-p/648258#M194153</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-05-16T10:38:17Z</dc:date>
    </item>
  </channel>
</rss>

