<?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 Delete duplicate rows if two variables match in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39456#M10193</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 30 Jul 2011 19:39:46 GMT</pubDate>
    <dc:creator>Costasg</dc:creator>
    <dc:date>2011-07-30T19:39:46Z</dc:date>
    <item>
      <title>Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39453#M10190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I need some help regarding deleting duplicate rows; my dataset has 3 columns and looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; volume&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jun1996&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jul1996&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 110&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jul1996&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 120&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aug1996&amp;nbsp;&amp;nbsp;&amp;nbsp; 130&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jun1996&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 105&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jul1996&amp;nbsp; &lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;110&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jul1996&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 110&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I want to do is delete the rows that have the same code and date (volume can be different, I want to keep the one&amp;nbsp; with the highest number; if these are the same just keep one)&lt;/P&gt;&lt;P&gt;Any ideas on how to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So it would be like that:﻿﻿&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; volume&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jun1996&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jul1996&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 120&lt;/P&gt;&lt;P&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aug1996&amp;nbsp;&amp;nbsp;&amp;nbsp; 130&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jun1996&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 105&lt;/P&gt;&lt;P&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; jul1996&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 110&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿﻿Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Costas&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jul 2011 17:28:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39453#M10190</guid>
      <dc:creator>Costasg</dc:creator>
      <dc:date>2011-07-30T17:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39454#M10191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general you want to sort and keep the last one per group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=have out=want ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; by code date volume;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; by code date ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if last.date;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jul 2011 18:47:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39454#M10191</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-07-30T18:47:07Z</dc:date>
    </item>
    <item>
      <title>Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39455#M10192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For this type of summary I would use PROC SUMMARY.&amp;nbsp; You could use MAX= parameter&amp;nbsp; but IDGROUP works with both character and numeric variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style=": ; color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;STRONG style="color: #000080; font-size: 10pt; font-family: Courier New;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;data&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt; have;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; color: red; font-family: 'Courier New'; background-color: white;"&gt;inptut&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt; code date :&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: teal; font-family: 'Courier New'; background-color: white;"&gt;monyy.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt; volume;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; color: blue; font-family: 'Courier New'; background-color: white;"&gt;format&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt; date &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: teal; font-family: 'Courier New'; background-color: white;"&gt;monyy7.&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; color: blue; font-family: 'Courier New'; background-color: white;"&gt;cards&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: #ffffc0;"&gt;3 jun1996 100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: #ffffc0;"&gt;3 jul1996 110&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: #ffffc0;"&gt;3 jul1996 120 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: #ffffc0;"&gt;3 aug1996 130&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: #ffffc0;"&gt;4 jun1996 105&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: #ffffc0;"&gt;4 jul1996 110&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: #ffffc0;"&gt;4 jul1996 110&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;;;;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;summary&lt;/STRONG&gt; &lt;SPAN style="font-size: 10pt; color: blue; font-family: 'Courier New'; background-color: white;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;=have &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: 'Courier New'; background-color: white;"&gt;nway&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; color: blue; font-family: 'Courier New'; background-color: white;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt; code date;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt; color: blue; font-family: 'Courier New'; background-color: white;"&gt;output&lt;/SPAN&gt; &lt;SPAN style="font-size: 10pt; color: blue; font-family: 'Courier New'; background-color: white;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;=new &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: 'Courier New'; background-color: white;"&gt;idgroup&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: 'Courier New'; background-color: white;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;(volume) &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: blue; font-family: 'Courier New'; background-color: white;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;(volume)=);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;print&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; color: black; font-family: 'Courier New'; background-color: white;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;STRONG style="color: navy; font-size: 10pt; background-color: white; font-family: 'Courier New';"&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jul 2011 19:23:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39455#M10192</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2011-07-30T19:23:27Z</dc:date>
    </item>
    <item>
      <title>Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39456#M10193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Jul 2011 19:39:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39456#M10193</guid>
      <dc:creator>Costasg</dc:creator>
      <dc:date>2011-07-30T19:39:46Z</dc:date>
    </item>
    <item>
      <title>Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39457#M10194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While you already have two excellent answers, there are typically many ways of accomplishing the same thing in SAS.&amp;nbsp; Thus, a third way of accomplishing what you want is with two sorts.&amp;nbsp; E.g.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=have out=want ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; by code date descending volume;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=want nodupkey;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; by code date;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 Jul 2011 22:14:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39457#M10194</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-07-31T22:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39458#M10195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fourth way after art.T&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;data have;
&amp;nbsp;&amp;nbsp; input code date :monyy. volume;
&amp;nbsp;&amp;nbsp; format date monyy7.;
&amp;nbsp;&amp;nbsp; cards;
3 jun1996 100
3 jul1996 110
3 jul1996 120
3 aug1996 130
4 jun1996 105
4 jul1996 110
4 jul1996 110
;;;;
&amp;nbsp;&amp;nbsp; run;
proc sql noprint;
 create table want as
&amp;nbsp; select distinct *
&amp;nbsp;&amp;nbsp; from have
&amp;nbsp;&amp;nbsp;&amp;nbsp; group by code,date
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; having volume eq max(volume);
quit;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 08:26:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39458#M10195</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-08-04T08:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39459#M10196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;I have a related question. How happen if I want to keep the duplicates but delete the non-duplicates. I have posted the following dataset in this forum before. It looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="margin-left: -0.75pt; padding: 2.25pt;" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="background-color: #6690bc; padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;STRONG style="color: #333333; font-size: 10pt; font-family: 'Arial','sans-serif';"&gt;participantID&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: #6690bc; padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;STRONG style="color: #333333; font-size: 10pt; font-family: 'Arial','sans-serif';"&gt;Treatment_Start_Date&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: #6690bc; padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;STRONG style="color: #333333; font-size: 10pt; font-family: 'Arial','sans-serif';"&gt;Assessment_Date&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="background-color: #6690bc; padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;STRONG style="color: #333333; font-size: 10pt; font-family: 'Arial','sans-serif';"&gt;Scores&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;13JAN2001&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;13JAN2001&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;13JAN2001&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;24MAR2001&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;6&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;13JAN2001&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;07MAY2001&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;8&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;15DEC2001&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;15DEC2001&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;9&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;01FEB2008&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;01FEB2008&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;01FEB2008&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;15MAY2008&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;01FEB2008&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;06JAN2009&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;1&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;15DEC2009&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;15DEC2009&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;3&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;15DEC2009&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;15JAN2010&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;5&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;26MAY2010&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;26MAY2010&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2.25pt;"&gt;&lt;P align="center"&gt;&lt;SPAN style="font-family: 'Arial','sans-serif'; color: #333333; font-size: 10pt;"&gt;4&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; informat Treatment_Start_Date Assessment_Date date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format Treatment_Start_Date Assessment_Date date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input participantID Treatment_Start_Date Assessment_Date Scores;&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;1 13JAN2001 13JAN2001 5&lt;/P&gt;&lt;P&gt;1 13JAN2001 24MAR2001 6&lt;/P&gt;&lt;P&gt;1 13JAN2001 07MAY2001 8&lt;/P&gt;&lt;P&gt;1 15DEC2001 15DEC2001 9&lt;/P&gt;&lt;P&gt;2 01FEB2008 01FEB2008 5&lt;/P&gt;&lt;P&gt;2 01FEB2008 15MAY2008 2&lt;/P&gt;&lt;P&gt;2 01FEB2008 06JAN2009 1&lt;/P&gt;&lt;P&gt;2 15DEC2009 15DEC2009 3&lt;/P&gt;&lt;P&gt;2 15DEC2009 15JAN2010 5&lt;/P&gt;&lt;P&gt;2 26MAY2010 26MAY2010 4&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For participant 1 for example, I wan to keep only his three lines of data for 13JAN2001. For participant 2, I want to keep 01FEB2008 (three lines) and 15DEC2009 (two lines). I tried to find the "opposite" of NODUPKEY (something like KEEPDUPKEY") but have not succeed. Is there anyway to do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chester&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 14:59:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39459#M10196</guid>
      <dc:creator>PsycResearcher</dc:creator>
      <dc:date>2011-08-05T14:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39460#M10197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very similar to the code Tom proposed earlier:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data=have out=want ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; by participantID Treatment_Start_Date;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; by code date ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if not(first.Treatment_Start_Date and last.Treatment_Start_Date);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 15:59:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39460#M10197</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-08-05T15:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39461#M10198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How about:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;data have;
&amp;nbsp;&amp;nbsp; input code date1 : date9. date2 : date9. volume;
&amp;nbsp;&amp;nbsp; format date1 date2 date9.;
&amp;nbsp;&amp;nbsp; cards;
1 13JAN2001 13JAN2001 5
1 13JAN2001 24MAR2001 6
1 13JAN2001 07MAY2001 8
1 15DEC2001 15DEC2001 9
2 01FEB2008 01FEB2008 5
2 01FEB2008 15MAY2008 2
2 01FEB2008 06JAN2009 1
2 15DEC2009 15DEC2009 3
2 15DEC2009 15JAN2010 5
2 26MAY2010 26MAY2010 4
;
&amp;nbsp;&amp;nbsp; run;
proc sql noprint;
 create table want as
&amp;nbsp; select&amp;nbsp; *
&amp;nbsp;&amp;nbsp; from have
&amp;nbsp;&amp;nbsp;&amp;nbsp; group by code,date1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; having count(date1) gt 1;
quit;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 10:44:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39461#M10198</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2011-08-09T10:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39462#M10199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for being helpful, Ksharp. I guess that proc sql is a very useful command that I should learn.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 21:51:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/39462#M10199</guid>
      <dc:creator>PsycResearcher</dc:creator>
      <dc:date>2011-08-11T21:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/359418#M64382</link>
      <description>&lt;P&gt;I used the following code to create a test data set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data test0;&lt;BR /&gt;input ID1 ID2 date score;&lt;/P&gt;&lt;P&gt;datalines;&lt;BR /&gt;1 1.1 2004 8&lt;BR /&gt;1 1.1 2004 7&lt;BR /&gt;1 1.1 2004 1&lt;BR /&gt;2 1.2 2005 1&lt;BR /&gt;2 1.2 2006 1&lt;BR /&gt;2 1.2 2007 1&lt;BR /&gt;2 2.2 2005 8&lt;BR /&gt;2 2.2 2006 8&lt;BR /&gt;2 2.2 2007 8&lt;BR /&gt;3 3.1 2005 5&lt;BR /&gt;3 3.2 2005 6&lt;BR /&gt;3 3.3 2005 5&lt;BR /&gt;3 3.1 2006 5&lt;BR /&gt;3 3.2 2006 6&lt;BR /&gt;3 3.3 2006 5&lt;BR /&gt;3 3.1 2007 5&lt;BR /&gt;3 3.2 2007 6&lt;BR /&gt;3 3.3 2007 5&lt;BR /&gt;4 4.1 2005 8&lt;BR /&gt;4 4.1 2006 8&lt;BR /&gt;4 4.1 2007 8&lt;BR /&gt;5 5.1 2005 5&lt;BR /&gt;5 5.2 2006 6&lt;BR /&gt;5 5.3 2007 5&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to test the presence of duplicate observations in the data sets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The rule is ID1 (primary indicator) should be present only once for each date. For Example, ID1 = 2 and ID1 = 3 have duplicate observations as they have repeatations of the same value for ID1 for one particular value of date. However, ID1 =5 does not have a duplicate observation, although it's secondary indicator (ID2) changes it's value across dates.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help on this matter is highly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to create an indicator variable that will take a value 1 for if a particular observation is a duplicate observation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2017 16:15:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/359418#M64382</guid>
      <dc:creator>sbhat</dc:creator>
      <dc:date>2017-05-17T16:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Delete duplicate rows if two variables match</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/364243#M64669</link>
      <description>&lt;P&gt;Thanks Art297, your 'third way' saved my day.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2017 11:13:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Delete-duplicate-rows-if-two-variables-match/m-p/364243#M64669</guid>
      <dc:creator>lostprophet</dc:creator>
      <dc:date>2017-06-05T11:13:09Z</dc:date>
    </item>
  </channel>
</rss>

