<?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: Proc Sort error in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Sort-error/m-p/34701#M8511</link>
    <description>Thanks!!!</description>
    <pubDate>Wed, 17 Nov 2010 14:04:07 GMT</pubDate>
    <dc:creator>cjohnson</dc:creator>
    <dc:date>2010-11-17T14:04:07Z</dc:date>
    <item>
      <title>Proc Sort error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Sort-error/m-p/34699#M8509</link>
      <description>I am trying to run a simple proc sort, and if I add the descending option, it errors:&lt;BR /&gt;
&lt;BR /&gt;
14         PROC SORT DATA=GOVERNING_CLASS;&lt;BR /&gt;
15         BY LR descending;&lt;BR /&gt;
                           _&lt;BR /&gt;
                           22&lt;BR /&gt;
ERROR 22-322: Syntax error, expecting one of the following: a name, _ALL_, _CHARACTER_, _CHAR_, _NUMERIC_.  &lt;BR /&gt;
16         RUN;&lt;BR /&gt;
ERROR: Variable NAME not found.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
However, this runs fine:&lt;BR /&gt;
&lt;BR /&gt;
PROC SORT DATA=GOVERNING_CLASS;&lt;BR /&gt;
BY LR;&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?  I am running SAS 9.1, EG 4.1, and just installed the newest hotfix for errors.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Chris</description>
      <pubDate>Wed, 17 Nov 2010 13:54:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Sort-error/m-p/34699#M8509</guid>
      <dc:creator>cjohnson</dc:creator>
      <dc:date>2010-11-17T13:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sort error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Sort-error/m-p/34700#M8510</link>
      <description>The keyword DESCENDING goes before the variable that you want to sort descending.</description>
      <pubDate>Wed, 17 Nov 2010 13:59:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Sort-error/m-p/34700#M8510</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2010-11-17T13:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Sort error</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Sort-error/m-p/34701#M8511</link>
      <description>Thanks!!!</description>
      <pubDate>Wed, 17 Nov 2010 14:04:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Sort-error/m-p/34701#M8511</guid>
      <dc:creator>cjohnson</dc:creator>
      <dc:date>2010-11-17T14:04:07Z</dc:date>
    </item>
  </channel>
</rss>

