<?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: Delete subjects that have duplicates; not the duplicates in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607887#M176801</link>
    <description>&lt;P&gt;So if subject 1 has 5 observations and two or more of them have the same value of HX_60 you want to remove all 5 observations?&lt;/P&gt;
&lt;P&gt;And if subject 2 has 5 observations with 5 different values of HX_60 you want to keep all of them?&lt;/P&gt;
&lt;P&gt;What about missing values of HC_60?&amp;nbsp; Do you want to delete subjects with more than one observations with a missing value.&amp;nbsp; What if there are two missing values, but one is normal missing value and the other is a special missing value?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway you could try this.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=krag.px_60 out=krag.px_60a ;
  by subject_ID hx_60;
run;
data krag_px_60a ;
do until (last.subject_id);
  set krag_px_60a ;
  by subject_ID hx_60;
  flag=min(flag,first.hx_60);
end;
do until (last.subject_id);
  set krag_px_60a ;
  by subject_ID hx_60;
  if not flag then output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The FIRST.HX_60 variable will be true (=1) when it is the first observation for that value of HX_60 (for this SUBJECT_ID).&amp;nbsp; So if the MIN() of all of them is 1 then all of them are 1.&amp;nbsp; So when FLAG=0 (FALSE) it means that there was at least one duplicate HX_60 value and you want to remove ALL of the observations for that subject.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS&amp;nbsp; The NODUPREC options is almost never what you want to use with PROC SORT. Especially if the BY statement does not included every variable in the dataset.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Nov 2019 22:28:15 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2019-11-27T22:28:15Z</dc:date>
    <item>
      <title>Delete subjects that have duplicates; not the duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607885#M176799</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Pls can someone help me to delete subjects that have duplicates; not the duplicates but any subject that has duplicates recordings (variable is hx_60), that subject must be deleted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The prog below does not work for me but only deletes duplicates but not the subject having duplicates;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc sort data=krag.px_60 out=krag.px_60a noduprecs;&lt;BR /&gt;by subject_ID hx_60;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 22:17:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607885#M176799</guid>
      <dc:creator>Mystik</dc:creator>
      <dc:date>2019-11-27T22:17:23Z</dc:date>
    </item>
    <item>
      <title>Re: Delete subjects that have duplicates; not the duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607886#M176800</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/245559"&gt;@Mystik&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Pls can someone help me to delete subjects that have duplicates; not the duplicates but any subject that has duplicates recordings (variable is hx_60), that subject must be deleted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The prog below does not work for me but only deletes duplicates but not the subject having duplicates;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sort data=krag.px_60 out=krag.px_60a noduprecs;&lt;BR /&gt;by subject_ID hx_60;&lt;BR /&gt;run;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;There are a couple of ways your requirement may be interpreted. It may help to provide a small example of the data, you would only need the subject_id and hx_60 values, include some records that should be removed and some that shouldn't. Then show what the desired output for that example should look like.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 22:23:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607886#M176800</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-11-27T22:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Delete subjects that have duplicates; not the duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607887#M176801</link>
      <description>&lt;P&gt;So if subject 1 has 5 observations and two or more of them have the same value of HX_60 you want to remove all 5 observations?&lt;/P&gt;
&lt;P&gt;And if subject 2 has 5 observations with 5 different values of HX_60 you want to keep all of them?&lt;/P&gt;
&lt;P&gt;What about missing values of HC_60?&amp;nbsp; Do you want to delete subjects with more than one observations with a missing value.&amp;nbsp; What if there are two missing values, but one is normal missing value and the other is a special missing value?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway you could try this.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=krag.px_60 out=krag.px_60a ;
  by subject_ID hx_60;
run;
data krag_px_60a ;
do until (last.subject_id);
  set krag_px_60a ;
  by subject_ID hx_60;
  flag=min(flag,first.hx_60);
end;
do until (last.subject_id);
  set krag_px_60a ;
  by subject_ID hx_60;
  if not flag then output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The FIRST.HX_60 variable will be true (=1) when it is the first observation for that value of HX_60 (for this SUBJECT_ID).&amp;nbsp; So if the MIN() of all of them is 1 then all of them are 1.&amp;nbsp; So when FLAG=0 (FALSE) it means that there was at least one duplicate HX_60 value and you want to remove ALL of the observations for that subject.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PS&amp;nbsp; The NODUPREC options is almost never what you want to use with PROC SORT. Especially if the BY statement does not included every variable in the dataset.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 22:28:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607887#M176801</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2019-11-27T22:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Delete subjects that have duplicates; not the duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607889#M176803</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Actually there are no missing values;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for instance this is how the data looks like;&lt;/P&gt;&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; indexdate&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Grp 1&amp;nbsp; &amp;nbsp; &amp;nbsp; Grp2&amp;nbsp; &amp;nbsp; &amp;nbsp; hxdate&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hx_60&lt;/P&gt;&lt;P&gt;T01&amp;nbsp; &amp;nbsp;11Jun2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OCS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OCS&amp;nbsp; &amp;nbsp; &amp;nbsp; 11Jun2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;T01&amp;nbsp; &amp;nbsp;11Jun2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OCS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; **&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;21Jul2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; **=MISSING&lt;/P&gt;&lt;P&gt;T01&amp;nbsp; &amp;nbsp;11Jun2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OCS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OCS&amp;nbsp; &amp;nbsp; &amp;nbsp; 16Sep2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;T02&amp;nbsp; &amp;nbsp;06Jan2010&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;BASA&amp;nbsp; &amp;nbsp; &amp;nbsp; BASA&amp;nbsp; &amp;nbsp; &amp;nbsp;06Jan2010&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;T03&amp;nbsp; &amp;nbsp;12May2013&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOMA&amp;nbsp; &amp;nbsp; &amp;nbsp;LOMA&amp;nbsp; &amp;nbsp; 12May2013&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;T04&amp;nbsp; &amp;nbsp;17Sep2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ABAS&amp;nbsp; &amp;nbsp; &amp;nbsp; ABAS&amp;nbsp; &amp;nbsp; &amp;nbsp;17Sep2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;T04&amp;nbsp; &amp;nbsp;17Sep2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ABAS&amp;nbsp; &amp;nbsp; &amp;nbsp; **&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 19Oct2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;&lt;P&gt;T04&amp;nbsp; &amp;nbsp;17Sep2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ABAS&amp;nbsp; &amp;nbsp; &amp;nbsp; ** .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 11Dec2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As depicted above, Subject with ID=T01 has 3 duplicates and needs to be excluded, i.e delete T01 and not the duplicates. Also T04&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 22:47:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607889#M176803</guid>
      <dc:creator>Mystik</dc:creator>
      <dc:date>2019-11-27T22:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Delete subjects that have duplicates; not the duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607891#M176805</link>
      <description>&lt;P&gt;I'm having trouble understanding what you mean. Do you want delete the whole observation or the value that is in ID?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's deleting the value of ID which has duplicates:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
length id $3. grp1 $4. grp2 $4.;
input ID $ indexdate :date9. Grp1 $ Grp2 $ hxdate :date9. hx_60;
format indexdate hxdate date9.;
datalines;
T01 11Jun2006 OCS OCS 11Jun2006 1
T01 11Jun2006 OCS . 21Jul2006 1
T01 11Jun2006 OCS OCS 16Sep2006 1
T02 06Jan2010 BASA BASA 06Jan2010 1
T03 12May2013 LOMA LOMA 12May2013 1
T04 17Sep2007 ABAS ABAS 17Sep2007 1
T04 17Sep2007 ABAS . 19Oct2007 1
T04 17Sep2007 ABAS . 11Dec2007 1
;
run;

proc sql;
create table counts as 
select id, count(hx_60) as cnt
from have
group by id
having cnt&amp;gt;1
;quit;

data want;
merge counts(in=cnts drop=cnt) have(in=hve);
by id;
if cnts then id='';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;-unison&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 23:09:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607891#M176805</guid>
      <dc:creator>unison</dc:creator>
      <dc:date>2019-11-27T23:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Delete subjects that have duplicates; not the duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607895#M176809</link>
      <description>&lt;P&gt;So what would be the expected output if this was the input data set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/245559"&gt;@Mystik&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;Actually there are no missing values;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for instance this is how the data looks like;&lt;/P&gt;
&lt;P&gt;ID&amp;nbsp; &amp;nbsp; &amp;nbsp; indexdate&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Grp 1&amp;nbsp; &amp;nbsp; &amp;nbsp; Grp2&amp;nbsp; &amp;nbsp; &amp;nbsp; hxdate&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;hx_60&lt;/P&gt;
&lt;P&gt;T01&amp;nbsp; &amp;nbsp;11Jun2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OCS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OCS&amp;nbsp; &amp;nbsp; &amp;nbsp; 11Jun2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;
&lt;P&gt;T01&amp;nbsp; &amp;nbsp;11Jun2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OCS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; **&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;21Jul2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; **=MISSING&lt;/P&gt;
&lt;P&gt;T01&amp;nbsp; &amp;nbsp;11Jun2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;OCS&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OCS&amp;nbsp; &amp;nbsp; &amp;nbsp; 16Sep2006&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;
&lt;P&gt;T02&amp;nbsp; &amp;nbsp;06Jan2010&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;BASA&amp;nbsp; &amp;nbsp; &amp;nbsp; BASA&amp;nbsp; &amp;nbsp; &amp;nbsp;06Jan2010&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;
&lt;P&gt;T03&amp;nbsp; &amp;nbsp;12May2013&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LOMA&amp;nbsp; &amp;nbsp; &amp;nbsp;LOMA&amp;nbsp; &amp;nbsp; 12May2013&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;
&lt;P&gt;T04&amp;nbsp; &amp;nbsp;17Sep2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ABAS&amp;nbsp; &amp;nbsp; &amp;nbsp; ABAS&amp;nbsp; &amp;nbsp; &amp;nbsp;17Sep2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;
&lt;P&gt;T04&amp;nbsp; &amp;nbsp;17Sep2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ABAS&amp;nbsp; &amp;nbsp; &amp;nbsp; **&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 19Oct2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/P&gt;
&lt;P&gt;T04&amp;nbsp; &amp;nbsp;17Sep2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ABAS&amp;nbsp; &amp;nbsp; &amp;nbsp; ** .&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 11Dec2007&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As depicted above, Subject with ID=T01 has 3 duplicates and needs to be excluded, i.e delete T01 and not the duplicates. Also T04&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 23:14:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607895#M176809</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-27T23:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Delete subjects that have duplicates; not the duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607897#M176811</link>
      <description>&lt;P&gt;sorry this is a data with over 120,000 observations and 16 variables.&lt;/P&gt;&lt;P&gt;the expected out put is to work with subjects (such as T02 and T03) that do not have duplicates.&lt;/P&gt;&lt;P&gt;This stage is the exclusion stage before the incoming logistic analyses.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 23:17:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607897#M176811</guid>
      <dc:creator>Mystik</dc:creator>
      <dc:date>2019-11-27T23:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Delete subjects that have duplicates; not the duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607899#M176813</link>
      <description>&lt;P&gt;Then this is pretty trivial, use BY group processing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=have;
by ID;
run;

data want;
set have;
by ID:

if first.id and last.id then output;

run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The record can only be the first and last if its a single record.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 23:21:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607899#M176813</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-27T23:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Delete subjects that have duplicates; not the duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607900#M176814</link>
      <description>&lt;P&gt;i have over 30,000 subjects with over 120, 000 observations and 15 variables.&lt;/P&gt;&lt;P&gt;Pls your first data step with the datalines wouldn't work.&lt;/P&gt;&lt;P&gt;I gave the above dataline just to give a brief description of the data.&lt;/P&gt;&lt;P&gt;if you kindly give me another data steps to run the first step.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 23:22:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607900#M176814</guid>
      <dc:creator>Mystik</dc:creator>
      <dc:date>2019-11-27T23:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Delete subjects that have duplicates; not the duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607903#M176815</link>
      <description>&lt;P&gt;WORKED!!!&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 23:33:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607903#M176815</guid>
      <dc:creator>Mystik</dc:creator>
      <dc:date>2019-11-27T23:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Delete subjects that have duplicates; not the duplicates</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607904#M176816</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/245559"&gt;@Mystik&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;i have over 30,000 subjects with over 120, 000 observations and 15 variables.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Pls your first data step with the datalines wouldn't work.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I gave the above dataline just to give a brief description of the data.&lt;/P&gt;
&lt;P&gt;if you kindly give me another data steps to run the first step.&lt;/P&gt;
&lt;P&gt;thank you.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The purpose of the datalines is to create sample data ONLY. You would replace references to HAVE, with whatever your data set name is instead.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 23:33:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Delete-subjects-that-have-duplicates-not-the-duplicates/m-p/607904#M176816</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-11-27T23:33:10Z</dc:date>
    </item>
  </channel>
</rss>

