<?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: ERROR 180-322: Statement is not valid or it is used out of proper order. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/240176#M44284</link>
    <description>&lt;P&gt;Glad to read that I haven't gotten blind&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://communities.sas.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I shifted arounf the code in the program and it now works! Thanks for the help Merry Xmas!&lt;/P&gt;</description>
    <pubDate>Sun, 20 Dec 2015 19:13:45 GMT</pubDate>
    <dc:creator>Orongo</dc:creator>
    <dc:date>2015-12-20T19:13:45Z</dc:date>
    <item>
      <title>ERROR 180-322: Statement is not valid or it is used out of proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/240174#M44282</link>
      <description>&lt;P&gt;Hi, I'm a beginner in SAS and have an excercise to read in data and then use the means to print analysis. But I get the error message "&lt;SPAN&gt;Statement is not valid or it is used out of proper order." My data table is [id, kon, lon, atid]&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt; 19     K      7150      50
 26     K     12300     100
 12     K      6400      50
 10     K      5650      50
  9     K     17600     100
 11     K     16200     100
  3     K     12600     100
 16     K     16900     100
 25     K     13700     100
 22     K      9900     100
  6     K      8900      50
  7     K     10700     100
 24     K     13800     100
  8     K     13100     100
 17     K     15400     100
  2     K     14100     100
 18     K     16100     100
  4     K     19700     100
 15     K     11500     100&lt;/PRE&gt;&lt;P&gt;and the code is&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data ekon;
	infile '/folders/myfolders/ekon-win.txt';
	input id kon $ lon atid; 
	run;

proc sort data=ekon; by kon id;	
	proc print data=ekon;
	run;

proc means data=ekon maxdec=0;
	var lon atid;
	class kon;
	title 'Means ekon';
	run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SAS complaints about the line "var lon atid", what am I not seeing?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2015 18:16:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/240174#M44282</guid>
      <dc:creator>Orongo</dc:creator>
      <dc:date>2015-12-20T18:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/240175#M44283</link>
      <description>&lt;P&gt;Hi Orongo,&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;Good news: There is no syntax error in the code you've posted.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I would simply resubmit this code. If the error still occurs, please post the log.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2015 18:38:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/240175#M44283</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2015-12-20T18:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 180-322: Statement is not valid or it is used out of proper order.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/240176#M44284</link>
      <description>&lt;P&gt;Glad to read that I haven't gotten blind&amp;nbsp;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://communities.sas.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I shifted arounf the code in the program and it now works! Thanks for the help Merry Xmas!&lt;/P&gt;</description>
      <pubDate>Sun, 20 Dec 2015 19:13:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ERROR-180-322-Statement-is-not-valid-or-it-is-used-out-of-proper/m-p/240176#M44284</guid>
      <dc:creator>Orongo</dc:creator>
      <dc:date>2015-12-20T19:13:45Z</dc:date>
    </item>
  </channel>
</rss>

