<?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 ascending error in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-sort-ascending-error/m-p/821315#M324250</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you sure you use FINAL_CHECKS&amp;nbsp;as input to your PROC SURVEYSELECT?&lt;/P&gt;
&lt;P&gt;I think you are using TEST instead!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 17:08:53 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2022-07-01T17:08:53Z</dc:date>
    <item>
      <title>proc sort ascending error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sort-ascending-error/m-p/821313#M324248</link>
      <description>&lt;P&gt;I've got a variable called 'band', which has three values:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;0-&amp;lt;2441&lt;/P&gt;
&lt;P&gt;2449-&amp;lt;20001&lt;/P&gt;
&lt;P&gt;200001-High&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can the 'band' variable be sorted (or resolve the error), as I'm running a proc surveyselect on my TEST dataset afterwards but have got the error message: "ERROR: Data set WORK.TEST is not sorted in ascending sequence. The current BY group has band=2449-&amp;lt;200001 and the next BY group has band=0-&amp;lt;2449"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Current code:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=test
                 out=final_checks;
         by band;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 17:02:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sort-ascending-error/m-p/821313#M324248</guid>
      <dc:creator>Justin9</dc:creator>
      <dc:date>2022-07-01T17:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: proc sort ascending error</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-sort-ascending-error/m-p/821315#M324250</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you sure you use FINAL_CHECKS&amp;nbsp;as input to your PROC SURVEYSELECT?&lt;/P&gt;
&lt;P&gt;I think you are using TEST instead!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 17:08:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-sort-ascending-error/m-p/821315#M324250</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-07-01T17:08:53Z</dc:date>
    </item>
  </channel>
</rss>

