<?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 108-322 in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595817#M8136</link>
    <description>&lt;P&gt;You have an extra semi-colon in the middle of your PROC FREQ statement.&lt;/P&gt;
&lt;P&gt;To help avoid this type of mistake when typing a statement that is too long to fit legibly on one line (more than about 75 characters) I always place the semi-colon that ends the statement on a new line.&amp;nbsp; The same as I would place the END statement that ends a multiple statement block of code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=work.import1
  order=frequency
;
  table jurisdiction*reportablecondition;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Oct 2019 16:50:39 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-10-11T16:50:39Z</dc:date>
    <item>
      <title>Error 108-322</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595812#M8133</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to using SAS and am having trouble creating a two-way frequency table. I've done some web searches and I believe I am using the correct code, but apparently not. Would appreciate some help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc freq data=work.import1;&lt;BR /&gt;order=frequency;&lt;BR /&gt;table jurisdiction*reportablecondition;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-10-11 at 12.35.22 PM.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/33084i3A39EF304B8CD90F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-10-11 at 12.35.22 PM.png" alt="Screen Shot 2019-10-11 at 12.35.22 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:41:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595812#M8133</guid>
      <dc:creator>eashcra1</dc:creator>
      <dc:date>2019-10-11T16:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error 108-322</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595815#M8134</link>
      <description>&lt;P&gt;You do not want a semi-colon after&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=work.import1&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:45:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595815#M8134</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-11T16:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error 108-322</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595816#M8135</link>
      <description>&lt;P&gt;Please post logs in the future by simply copy/pasting them into a window opened with the {i} button.&lt;/P&gt;
&lt;P&gt;ORDER is not a valid statement in proc freq; I guess you wanted to use either BY or WEIGHT.&lt;/P&gt;
&lt;P&gt;See the &lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=procstat&amp;amp;docsetTarget=procstat_freq_syntax.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;documentation of PROC FREQ&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:46:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595816#M8135</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-10-11T16:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error 108-322</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595817#M8136</link>
      <description>&lt;P&gt;You have an extra semi-colon in the middle of your PROC FREQ statement.&lt;/P&gt;
&lt;P&gt;To help avoid this type of mistake when typing a statement that is too long to fit legibly on one line (more than about 75 characters) I always place the semi-colon that ends the statement on a new line.&amp;nbsp; The same as I would place the END statement that ends a multiple statement block of code.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=work.import1
  order=frequency
;
  table jurisdiction*reportablecondition;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:50:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595817#M8136</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-10-11T16:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error 108-322</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595818#M8137</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ORDER is not a valid statement in proc freq;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Actually, it is a valid option&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_freq_syntax01.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.4&amp;amp;docsetId=statug&amp;amp;docsetTarget=statug_freq_syntax01.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:52:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595818#M8137</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-10-11T16:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error 108-322</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595819#M8138</link>
      <description>&lt;P&gt;ORDER= is an option on the PROC FREQ statement, not a statement on its own. So it needs to be before the semi colon. &lt;BR /&gt;&lt;BR /&gt;Also, the valid values for ORDER are DATA, FORMATTED, FREQ or INTERNAL. I suspect SAS may correct frequency to FREQ but you may get a warning about that. &lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=work.import1 order = freq;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=procstat&amp;amp;docsetTarget=procstat_freq_syntax01.htm&amp;amp;locale=en"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.3&amp;amp;docsetId=procstat&amp;amp;docsetTarget=procstat_freq_syntax01.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 16:55:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Error-108-322/m-p/595819#M8138</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-10-11T16:55:25Z</dc:date>
    </item>
  </channel>
</rss>

