<?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 MEANS OUTPUT OUT in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-MEANS-OUTPUT-OUT/m-p/307793#M65975</link>
    <description>&lt;P&gt;That seems strange. Don't drop the _type_ columns and rerun. Post your log and output.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have a format applied to your CLASS variables?&lt;/P&gt;</description>
    <pubDate>Fri, 28 Oct 2016 00:46:52 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-10-28T00:46:52Z</dc:date>
    <item>
      <title>PROC MEANS OUTPUT OUT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-MEANS-OUTPUT-OUT/m-p/307790#M65973</link>
      <description>&lt;P&gt;I am trying to produce a dataset that contains 3 variables (Year, Age, Population (ie. tot_pop)), and includes ONLY the maximum value of tot_pop for each year and age category (Formatted). The syntax below is not producing the desired output (See attachment for actual output).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;PROC MEANS DATA=want NOPRINT MAXDEC=0;&lt;BR /&gt; CLASS year age;&lt;BR /&gt; VAR tot_pop ;&lt;BR /&gt; OUTPUT OUT=want_2 (drop=_FREQ_ _TYPE_)&lt;BR /&gt; MAX=tot_pop;&lt;BR /&gt;RUN;&lt;/PRE&gt;
&lt;P&gt;I want the final dataset to look like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Year &amp;nbsp; &amp;nbsp; &amp;nbsp;Age &amp;nbsp; &amp;nbsp; &amp;nbsp;Population&lt;/P&gt;
&lt;P&gt;2000 &amp;nbsp; &amp;nbsp;0-10 &amp;nbsp; &amp;nbsp; 1,000,000 (Max value for year and age category)&lt;BR /&gt;2000 &amp;nbsp; 11-15 &amp;nbsp; &amp;nbsp;1,200,000&amp;nbsp;&amp;nbsp;(Max value for year and age category)&lt;BR /&gt;2000 &amp;nbsp; 16-18 &amp;nbsp; &amp;nbsp;1,300,000&amp;nbsp;&amp;nbsp;(Max value for year and age category)&lt;BR /&gt;2001 &amp;nbsp; &amp;nbsp;0-10 &amp;nbsp; &amp;nbsp; 1,150,000&amp;nbsp;&amp;nbsp;(Max value for year and age category)&lt;BR /&gt;2001 &amp;nbsp;&amp;nbsp;11-15&amp;nbsp; &amp;nbsp; 1,250,000&amp;nbsp;&amp;nbsp;(Max value for year and age category)&lt;BR /&gt;2001 &amp;nbsp; 16-18 &amp;nbsp; &amp;nbsp;1,450,000&amp;nbsp;&amp;nbsp;(Max value for year and age category)&lt;BR /&gt;Etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help here!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 00:19:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-MEANS-OUTPUT-OUT/m-p/307790#M65973</guid>
      <dc:creator>_maldini_</dc:creator>
      <dc:date>2016-10-28T00:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MEANS OUTPUT OUT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-MEANS-OUTPUT-OUT/m-p/307793#M65975</link>
      <description>&lt;P&gt;That seems strange. Don't drop the _type_ columns and rerun. Post your log and output.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have a format applied to your CLASS variables?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 00:46:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-MEANS-OUTPUT-OUT/m-p/307793#M65975</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-28T00:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MEANS OUTPUT OUT</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-MEANS-OUTPUT-OUT/m-p/307820#M65986</link>
      <description>&lt;PRE&gt;PROC MEANS DATA=want NOPRINT MAXDEC=0&lt;STRONG&gt; NWAY&lt;/STRONG&gt; ;&lt;BR /&gt; CLASS year age;&lt;/PRE&gt;</description>
      <pubDate>Fri, 28 Oct 2016 03:02:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-MEANS-OUTPUT-OUT/m-p/307820#M65986</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-10-28T03:02:13Z</dc:date>
    </item>
  </channel>
</rss>

