<?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: correction needed : in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/correction-needed/m-p/737611#M28810</link>
    <description>Thank you Paige</description>
    <pubDate>Wed, 28 Apr 2021 15:31:12 GMT</pubDate>
    <dc:creator>PierreYvesILY</dc:creator>
    <dc:date>2021-04-28T15:31:12Z</dc:date>
    <item>
      <title>correction needed :</title>
      <link>https://communities.sas.com/t5/New-SAS-User/correction-needed/m-p/737604#M28808</link>
      <description>&lt;P&gt;dear SAS experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I typed:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;proc report data=class;
    column name age;
    define name / display;
    define age  / display;
    compute age;
       if age &amp;lt; 65
       then call define (_row_,'style' compute,'style=[background=lightblue]');
    endcomp;
run;&lt;/PRE&gt;&lt;P&gt;and got the following error message:&lt;/P&gt;&lt;PRE&gt;1           if age &amp;lt; 65 then call define (_row_,'style' compute,'style=[background=lightblue]');
                                                        _______
                                                        22
                                  ______
2                                                          The SAS System                            16:33 Wednesday, April 28, 2021

                                  253
ERROR 22-322: Syntax error, expecting one of the following: !, !!, &amp;amp;, *, **, +, ',', -, /, &amp;lt;, &amp;lt;=, &amp;lt;&amp;gt;, =, &amp;gt;, &amp;gt;&amp;lt;, &amp;gt;=, AND, EQ, GE, 
              GT, IN, LE, LT, MAX, MIN, NE, NG, NL, NOTIN, OR, ^=, |, ||, ~=.  

ERROR 253-185: The DEFINE subroutine call has too many arguments.&lt;/PRE&gt;&lt;P&gt;how should I correct the error?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thx,&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;PY&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 15:08:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/correction-needed/m-p/737604#M28808</guid>
      <dc:creator>PierreYvesILY</dc:creator>
      <dc:date>2021-04-28T15:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: correction needed :</title>
      <link>https://communities.sas.com/t5/New-SAS-User/correction-needed/m-p/737606#M28809</link>
      <description>&lt;P&gt;Take the word COMPUTE out of that line.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please, in the future, when you get an ERROR in the LOG, show us the &lt;FONT color="#FF0000"&gt;entire&lt;/FONT&gt; LOG for that PROC or DATA step. Do not show us a portion of the log for that PROC or DATA step.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 15:18:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/correction-needed/m-p/737606#M28809</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-04-28T15:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: correction needed :</title>
      <link>https://communities.sas.com/t5/New-SAS-User/correction-needed/m-p/737611#M28810</link>
      <description>Thank you Paige</description>
      <pubDate>Wed, 28 Apr 2021 15:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/correction-needed/m-p/737611#M28810</guid>
      <dc:creator>PierreYvesILY</dc:creator>
      <dc:date>2021-04-28T15:31:12Z</dc:date>
    </item>
  </channel>
</rss>

