<?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 Error while running proc means in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-proc-means/m-p/299363#M63104</link>
    <description>&lt;P&gt;Hello Sas community; /* gives a summary of a variable age */ Every time I run this code,it gives an error saying VAR AGE IS OUT OF ORDER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; PROC MEANS DATA = sun.demographics NWAY MISSING; 
N NMISS MEAN MIN P1 P5 P10 P25 P50 P75 P90 P95 P99 MAX;
 VAR AGE;;
 RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where as when I run this code , it gives an output.:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC MEANS DATA = sun.demographics NWAY MISSING;
 VAR AGE;; 
RUN; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please can somebody explain why the first code keeps giving me an error? with Regards!&lt;/P&gt;</description>
    <pubDate>Mon, 19 Sep 2016 19:25:20 GMT</pubDate>
    <dc:creator>shimelis</dc:creator>
    <dc:date>2016-09-19T19:25:20Z</dc:date>
    <item>
      <title>Error while running proc means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-proc-means/m-p/299363#M63104</link>
      <description>&lt;P&gt;Hello Sas community; /* gives a summary of a variable age */ Every time I run this code,it gives an error saying VAR AGE IS OUT OF ORDER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; PROC MEANS DATA = sun.demographics NWAY MISSING; 
N NMISS MEAN MIN P1 P5 P10 P25 P50 P75 P90 P95 P99 MAX;
 VAR AGE;;
 RUN;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where as when I run this code , it gives an output.:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC MEANS DATA = sun.demographics NWAY MISSING;
 VAR AGE;; 
RUN; &lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please can somebody explain why the first code keeps giving me an error? with Regards!&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 19:25:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-proc-means/m-p/299363#M63104</guid>
      <dc:creator>shimelis</dc:creator>
      <dc:date>2016-09-19T19:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: proc means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-proc-means/m-p/299366#M63107</link>
      <description>&lt;P&gt;The code that doesn't run:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;PROC MEANS DATA = sun.demographics NWAY MISSING; N NMISS MEAN MIN P1 P5 P10 P25 P50 P75 P90 P95 P99 MAX;&lt;/P&gt;
&lt;P&gt;Has a ; after missing. That ends the Proc means statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are likely misunderstanding that an error message like:&lt;/P&gt;
&lt;P&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is actually referring to the line Above where the message appears in the log. There should be an underscore under the N. That indicates that the place you referred to the N statistic is incorrect.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 19:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-proc-means/m-p/299366#M63107</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-19T19:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error while running proc means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-proc-means/m-p/299371#M63112</link>
      <description>&lt;P&gt;In addition to the extra semicolon, note that the message you got is consistent with your actual program containing this statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BY AGE;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that statement appears in the code, it needs to come out.&amp;nbsp; The VAR statement is correct.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 19:34:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-proc-means/m-p/299371#M63112</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2016-09-19T19:34:05Z</dc:date>
    </item>
    <item>
      <title>proc means help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-proc-means/m-p/299373#M63117</link>
      <description>Hello SAS community;
 /* gives a summary of a variable age */ Every time I run this code one, it gives an error saying VAR AGE IS OUT OF ORDER.
Code1
PROC MEANS DATA = sun.demographics NWAY MISSING; 
N NMISS MEAN MIN P1 P5 P10 P25 P50 P75 P90 P95 P99 MAX; 
VAR AGE;
RUN; 

Whereas when I run this code2, it gives an output. 
Code2
PROC MEANS DATA = sun.demographics NWAY MISSING; 
VAR AGE;
RUN; 
Please, can somebody explain why the first code keeps giving me an error? 
with Regards!</description>
      <pubDate>Mon, 19 Sep 2016 19:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-proc-means/m-p/299373#M63117</guid>
      <dc:creator>shimelis</dc:creator>
      <dc:date>2016-09-19T19:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: proc means help</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Error-while-running-proc-means/m-p/299382#M63121</link>
      <description>&lt;P&gt;Please post your code using the input box opened by &amp;nbsp;"running man" icon on the top row. Your unformatted code is very hard to read.&lt;/P&gt;
&lt;P&gt;And the question has been answered.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 19:50:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Error-while-running-proc-means/m-p/299382#M63121</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-09-19T19:50:32Z</dc:date>
    </item>
  </channel>
</rss>

