<?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: Nodupkey returns different outputs in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Nodupkey-returns-different-outputs/m-p/144135#M38344</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROC SORT is multi-threaded (by default). The allocation of data to different threads and the actual conditions can effect which observation comes first to the output.&lt;/P&gt;&lt;P&gt;Results can be different even on the same system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get identycal results use the &lt;STRONG&gt;equals&lt;/STRONG&gt; option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2014 12:08:14 GMT</pubDate>
    <dc:creator>gergely_batho</dc:creator>
    <dc:date>2014-12-10T12:08:14Z</dc:date>
    <item>
      <title>Nodupkey returns different outputs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Nodupkey-returns-different-outputs/m-p/144134#M38343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Team,&lt;/P&gt;&lt;P&gt;I have this issue with nodupkey option in proc sort.It seems to return different results on different servers.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;proc sort data=comtest.x2 nodupkey; by comp_id; run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My &lt;SPAN style="color: #800080;"&gt;source data&lt;/SPAN&gt; sample with 2 records with same comp_id:&lt;BR /&gt;comp_id-&amp;nbsp; business - prod_id&amp;nbsp; -PTY_ID&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp; ABC -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 123A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; ASHVIK&lt;BR /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 245CA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; ASHVIK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After removing duplicates on one server:&lt;BR /&gt;comp_id-&amp;nbsp; business - prod_id&amp;nbsp; -PTY_ID&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp; ABC -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 123A&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; ASHVIK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After removing duplicates on another server:&lt;/P&gt;&lt;P&gt;comp_id-&amp;nbsp; business - prod_id&amp;nbsp; -PTY_ID&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 245CA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;nbsp;&amp;nbsp; ASHVIK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know why we are getting different results on different servers .&lt;/P&gt;&lt;P&gt;Cheers&lt;BR /&gt;-Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 11:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Nodupkey-returns-different-outputs/m-p/144134#M38343</guid>
      <dc:creator>MarkNicholas</dc:creator>
      <dc:date>2014-12-10T11:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Nodupkey returns different outputs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Nodupkey-returns-different-outputs/m-p/144135#M38344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PROC SORT is multi-threaded (by default). The allocation of data to different threads and the actual conditions can effect which observation comes first to the output.&lt;/P&gt;&lt;P&gt;Results can be different even on the same system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to get identycal results use the &lt;STRONG&gt;equals&lt;/STRONG&gt; option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 12:08:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Nodupkey-returns-different-outputs/m-p/144135#M38344</guid>
      <dc:creator>gergely_batho</dc:creator>
      <dc:date>2014-12-10T12:08:14Z</dc:date>
    </item>
  </channel>
</rss>

