<?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 22-322: Syntax error, expecting one of the following: ;, CYCLEATTRS, DATA, DATTRMAP, DESCR in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-22-322-Syntax-error-expecting-one-of-the-following/m-p/344318#M22797</link>
    <description>&lt;P&gt;Solve errors in the order in which they appear. Fixing the first error will often remove many subsequent error messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the future, use the {i} tool to paste SAS output, it provides better formatting.&lt;/P&gt;</description>
    <pubDate>Sat, 25 Mar 2017 18:34:25 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2017-03-25T18:34:25Z</dc:date>
    <item>
      <title>ERROR 22-322: Syntax error, expecting one of the following: ;, CYCLEATTRS, DATA, DATTRMAP, DESCRIPTI</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-22-322-Syntax-error-expecting-one-of-the-following/m-p/344234#M22790</link>
      <description>&lt;P&gt;I am using SAS EG 7.1 on the server installed with SAS 9.4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The codes could be run on SAS9.3. But got the error:&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, CYCLEATTRS, DATA, DATTRMAP, DESCRIPTI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The codes in the eiditor is like:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;sgplot&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=out_data(&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;where&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=(pd_Seg=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;'Term'&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;)) &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;pctlevel&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=group;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;vbar&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt; dist_yyq/ &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;response&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=dist_yearqr &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;stat&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=percent &lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;name&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=&lt;/FONT&gt;&lt;FONT color="#800080" face="Courier New" size="3"&gt;"vbar"&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;grouporder&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=ascending&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;group&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=ltv_grp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;keylegend&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="3"&gt;"vbar"&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;/sortorder=ascending;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="3"&gt;xaxis&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="3"&gt;fitpolicy&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;=thin;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="3"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="3"&gt;;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Courier New" size="3"&gt;What is the problem? Is that caused by running 9.4?&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 01:18:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-22-322-Syntax-error-expecting-one-of-the-following/m-p/344234#M22790</guid>
      <dc:creator>ninihao</dc:creator>
      <dc:date>2017-03-25T01:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 22-322: Syntax error, expecting one of the following: ;, CYCLEATTRS, DATA, DATTRMAP, DESCR</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-22-322-Syntax-error-expecting-one-of-the-following/m-p/344251#M22792</link>
      <description>&lt;P&gt;Earlier versions of SAS 9.4 didn't recognize option sortorder= in the keylegend statement.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 03:22:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-22-322-Syntax-error-expecting-one-of-the-following/m-p/344251#M22792</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-03-25T03:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 22-322: Syntax error, expecting one of the following: ;, CYCLEATTRS, DATA, DATTRMAP, DESCR</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-22-322-Syntax-error-expecting-one-of-the-following/m-p/344259#M22793</link>
      <description>Hi PG,&lt;BR /&gt;&lt;BR /&gt;Thanks for you reply.&lt;BR /&gt;&lt;BR /&gt;It seems that the version I am using could not recognize many options. I copied the log files in the following:&lt;BR /&gt;proc sgplot data=out_data(where=(pd_Seg='Term')) pctlevel=group;&lt;BR /&gt;________&lt;BR /&gt;22&lt;BR /&gt;76&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, CYCLEATTRS, DATA, DATTRMAP, DESCRIPTION, NOAUTOLEGEND, NOCYCLEATTRS,&lt;BR /&gt;PAD, SGANNO, TMPLOUT, UNIFORM.&lt;BR /&gt;&lt;BR /&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;&lt;BR /&gt;25 vbar dist_yyq/ response=dist_yearqr stat=percent name="vbar" grouporder=ascending&lt;BR /&gt;_______&lt;BR /&gt;22&lt;BR /&gt;76&lt;BR /&gt;ERROR: No data set open to look up variables.&lt;BR /&gt;ERROR: No data set open to look up variables.&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: FREQ, MEAN, SUM.&lt;BR /&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;26 group=ltv_grp;&lt;BR /&gt;27 keylegend "vbar"/sortorder=ascending;&lt;BR /&gt;_________&lt;BR /&gt;22&lt;BR /&gt;76&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, ACROSS, BORDER, DOWN, LOCATION, NOBORDER, POSITION, TITLE,&lt;BR /&gt;TITLEATTRS, VALUEATTRS.&lt;BR /&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;BR /&gt;28 xaxis fitpolicy=thin;&lt;BR /&gt;29 run;&lt;BR /&gt;&lt;BR /&gt;In order to solve for this problem. Do you have any recommendation? Thanks a lot.&lt;BR /&gt;</description>
      <pubDate>Sat, 25 Mar 2017 05:54:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-22-322-Syntax-error-expecting-one-of-the-following/m-p/344259#M22793</guid>
      <dc:creator>ninihao</dc:creator>
      <dc:date>2017-03-25T05:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR 22-322: Syntax error, expecting one of the following: ;, CYCLEATTRS, DATA, DATTRMAP, DESCR</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-22-322-Syntax-error-expecting-one-of-the-following/m-p/344318#M22797</link>
      <description>&lt;P&gt;Solve errors in the order in which they appear. Fixing the first error will often remove many subsequent error messages.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the future, use the {i} tool to paste SAS output, it provides better formatting.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 18:34:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/ERROR-22-322-Syntax-error-expecting-one-of-the-following/m-p/344318#M22797</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2017-03-25T18:34:25Z</dc:date>
    </item>
  </channel>
</rss>

