<?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 nosorted in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/nosorted/m-p/795907#M255345</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Why nosorted is not working here?&lt;/P&gt;
&lt;P&gt;28 by col1 col2 nosorted.;&lt;BR /&gt;_________&lt;BR /&gt;22&lt;BR /&gt;201&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, -, :, ;, DESCENDING, GROUPFORMAT, NOTSORTED, _ALL_, &lt;BR /&gt;_CHARACTER_, _CHAR_, _NUMERIC_.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input col1 col2;
datalines;
101 20
101 20
101 15
;
run;
data want4;
set have;
by col1 col2 nosorted;
if first.col2 then seq_id=1;
else if first.col2 then seq_id+1;
run;
 &lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 13 Feb 2022 08:57:48 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2022-02-13T08:57:48Z</dc:date>
    <item>
      <title>nosorted</title>
      <link>https://communities.sas.com/t5/SAS-Programming/nosorted/m-p/795907#M255345</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;Why nosorted is not working here?&lt;/P&gt;
&lt;P&gt;28 by col1 col2 nosorted.;&lt;BR /&gt;_________&lt;BR /&gt;22&lt;BR /&gt;201&lt;BR /&gt;ERROR 22-322: Syntax error, expecting one of the following: a name, -, :, ;, DESCENDING, GROUPFORMAT, NOTSORTED, _ALL_, &lt;BR /&gt;_CHARACTER_, _CHAR_, _NUMERIC_.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input col1 col2;
datalines;
101 20
101 20
101 15
;
run;
data want4;
set have;
by col1 col2 nosorted;
if first.col2 then seq_id=1;
else if first.col2 then seq_id+1;
run;
 &lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 13 Feb 2022 08:57:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/nosorted/m-p/795907#M255345</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2022-02-13T08:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: nosorted</title>
      <link>https://communities.sas.com/t5/SAS-Programming/nosorted/m-p/795909#M255347</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like there is a "t" missing, try &lt;FONT face="courier new,courier"&gt;notsorted&lt;/FONT&gt;, as it appears in the error message.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Amir.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 09:20:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/nosorted/m-p/795909#M255347</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2022-02-13T09:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: nosorted</title>
      <link>https://communities.sas.com/t5/SAS-Programming/nosorted/m-p/795921#M255355</link>
      <description>&lt;P&gt;Just read the log, it already tells you:&lt;/P&gt;
&lt;PRE&gt;28 by col1 col2 nosorted.;
_________
22
201
ERROR 22-322: Syntax error, expecting one of the following: a name, -, :, ;, DESCENDING, GROUPFORMAT, &lt;FONT color="#FF0000"&gt;NOTSORTED&lt;/FONT&gt;, _ALL_,
_CHARACTER_, _CHAR_, _NUMERIC_.&lt;/PRE&gt;
&lt;P&gt;And a Google search (Maxim 6) for&amp;nbsp; "sas nosorted" will reveal the correct spelling in the&amp;nbsp;&lt;EM&gt;first&lt;/EM&gt; result.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Feb 2022 12:48:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/nosorted/m-p/795921#M255355</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-02-13T12:48:01Z</dc:date>
    </item>
  </channel>
</rss>

