<?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 Can proc sort returns different results in different runs for the same data. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-proc-sort-returns-different-results-in-different-runs-for/m-p/603121#M174719</link>
    <description>&lt;P&gt;I have a data with zip code and acc_nbr... when I sorted the data by zip code on different days, got same acct_nbr on different positions in the output data. Is it possible?&lt;/P&gt;</description>
    <pubDate>Mon, 11 Nov 2019 06:36:25 GMT</pubDate>
    <dc:creator>phadnismukta</dc:creator>
    <dc:date>2019-11-11T06:36:25Z</dc:date>
    <item>
      <title>Can proc sort returns different results in different runs for the same data.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-proc-sort-returns-different-results-in-different-runs-for/m-p/603121#M174719</link>
      <description>&lt;P&gt;I have a data with zip code and acc_nbr... when I sorted the data by zip code on different days, got same acct_nbr on different positions in the output data. Is it possible?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 06:36:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-proc-sort-returns-different-results-in-different-runs-for/m-p/603121#M174719</guid>
      <dc:creator>phadnismukta</dc:creator>
      <dc:date>2019-11-11T06:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can proc sort returns different results in different runs for the same data.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-proc-sort-returns-different-results-in-different-runs-for/m-p/603122#M174720</link>
      <description>&lt;P&gt;It’s possible...one way would be if you had ties in the data and they were sorted differently previously to this sort. So you have a different data set order passed to the proc sort with ties. If you have ties it’s best to do a double sort,with the first sort using an extra variable to control the order.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;if you’re running the exact same program again, it’s unlikely. and I’d &amp;nbsp;guess 99% of cases are some form of user error - like above.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/299093"&gt;@phadnismukta&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I have a data with zip code and acc_nbr... when I sorted the data by zip code on different days, got same acct_nbr on different positions in the output data. Is it possible?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 06:51:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-proc-sort-returns-different-results-in-different-runs-for/m-p/603122#M174720</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-11T06:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can proc sort returns different results in different runs for the same data.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-proc-sort-returns-different-results-in-different-runs-for/m-p/603123#M174721</link>
      <description>&lt;P&gt;If you only sort by zip_number and not also by account_number within a zip number then yes, nothing will control the order of the account_numbers.&lt;/P&gt;
&lt;P&gt;If your source table is a SAS data set (and not a database table) then using proc sort option EQUALS will return rows in the same "sub-" order as they were in the source table.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 07:59:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-proc-sort-returns-different-results-in-different-runs-for/m-p/603123#M174721</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-11-11T07:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can proc sort returns different results in different runs for the same data.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-proc-sort-returns-different-results-in-different-runs-for/m-p/603128#M174724</link>
      <description>&lt;P&gt;On top of what others said, certain means of storage (SPDS) might also influence the outcome of a sort.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See Maxim 31. Take control and&amp;nbsp;&lt;EM&gt;force&lt;/EM&gt; any order you need.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 07:56:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-proc-sort-returns-different-results-in-different-runs-for/m-p/603128#M174724</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-11-11T07:56:28Z</dc:date>
    </item>
  </channel>
</rss>

