<?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 Proc sort nodupkey is not working in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-sort-nodupkey-is-not-working/m-p/611687#M178323</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get duplicate records based on the nodupkey which find the duplicate records based on the by statement. However, It is giving me no-duplicate records in duplicate output file(dup_recs). Given is the syntax I have used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort data=table1 nodupkey out=without_dup&amp;nbsp; dupout=dup_recs;&lt;BR /&gt;by &amp;amp;col.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;and col macro keep the 178 column to validate if there is any duplicate record or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2019 18:49:28 GMT</pubDate>
    <dc:creator>abhityagi</dc:creator>
    <dc:date>2019-12-13T18:49:28Z</dc:date>
    <item>
      <title>Proc sort nodupkey is not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-sort-nodupkey-is-not-working/m-p/611687#M178323</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to get duplicate records based on the nodupkey which find the duplicate records based on the by statement. However, It is giving me no-duplicate records in duplicate output file(dup_recs). Given is the syntax I have used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort data=table1 nodupkey out=without_dup&amp;nbsp; dupout=dup_recs;&lt;BR /&gt;by &amp;amp;col.;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;and col macro keep the 178 column to validate if there is any duplicate record or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 18:49:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-sort-nodupkey-is-not-working/m-p/611687#M178323</guid>
      <dc:creator>abhityagi</dc:creator>
      <dc:date>2019-12-13T18:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Proc sort nodupkey is not working</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-sort-nodupkey-is-not-working/m-p/611698#M178328</link>
      <description>&lt;P&gt;If you have 178 columns in the by statement,&amp;nbsp;&lt;EM&gt;all&lt;/EM&gt; 178 have to be identical between observations to constitute a dupiicate.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 19:01:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-sort-nodupkey-is-not-working/m-p/611698#M178328</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-12-13T19:01:00Z</dc:date>
    </item>
  </channel>
</rss>

