<?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: Removing duplicates based on two logic in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554448#M154236</link>
    <description>Please mark the question as answered by selection one of the solutions above (not this post!)</description>
    <pubDate>Sat, 27 Apr 2019 04:17:41 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-04-27T04:17:41Z</dc:date>
    <item>
      <title>Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554425#M154224</link>
      <description>&lt;P&gt;Hello everyone!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking for some help in removing duplicates based on two logic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the data set:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data datadup;&lt;/P&gt;&lt;P&gt;input C_ID FDA P_ID;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;1 2001 85&lt;/P&gt;&lt;P&gt;1 2001 85&lt;/P&gt;&lt;P&gt;1 2099 85&lt;/P&gt;&lt;P&gt;1 2099 85&lt;/P&gt;&lt;P&gt;2 2054 85&lt;/P&gt;&lt;P&gt;2 2054 95&lt;/P&gt;&lt;P&gt;3 2043 54&lt;/P&gt;&lt;P&gt;4 2018 24&lt;/P&gt;&lt;P&gt;5 3039 93&lt;/P&gt;&lt;P&gt;6 3736 37&lt;/P&gt;&lt;P&gt;7 4645 36&lt;/P&gt;&lt;P&gt;7 4645 99&lt;/P&gt;&lt;P&gt;7 7869 74&lt;/P&gt;&lt;P&gt;7 7869 96&lt;/P&gt;&lt;P&gt;7 7869 96&lt;/P&gt;&lt;P&gt;8 9470 65&lt;/P&gt;&lt;P&gt;9 8676 23&lt;/P&gt;&lt;P&gt;10 8736 81&lt;/P&gt;&lt;P&gt;10 8736 93&lt;/P&gt;&lt;P&gt;10 8736 99&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOGIC:&amp;nbsp;For rows with the same C_ID, select those with highest FDA. For rows with the same C_ID and FDA,select the one with the highest P_ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The output should look like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data data_nodup;&lt;/P&gt;&lt;P&gt;input C_ID FDA P_ID;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1 2099 85&lt;/P&gt;&lt;P&gt;1 2099 85&lt;/P&gt;&lt;P&gt;2 2054 95&lt;/P&gt;&lt;P&gt;3 2043 54&lt;/P&gt;&lt;P&gt;4 2018 24&lt;/P&gt;&lt;P&gt;5 3039 93&lt;/P&gt;&lt;P&gt;6 3736 37&lt;/P&gt;&lt;P&gt;7 4645 99&lt;/P&gt;&lt;P&gt;7 7869 96&lt;/P&gt;&lt;P&gt;7 7869 96&lt;/P&gt;&lt;P&gt;8 9470 65&lt;/P&gt;&lt;P&gt;9 8676 23&lt;/P&gt;&lt;P&gt;10 8736 99&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2019 23:56:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554425#M154224</guid>
      <dc:creator>sandrube</dc:creator>
      <dc:date>2019-04-26T23:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554429#M154226</link>
      <description>&lt;P&gt;your want table has two of the same c_id for 1 and 7, but this code will give you the requested results you want.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data datadup;
input C_ID FDA P_ID;
datalines;
1 2001 85
1 2001 85
1 2099 85
1 2099 85
2 2054 85
2 2054 95
3 2043 54
4 2018 24
5 3039 93
6 3736 37
7 4645 36
7 4645 99
7 7869 74
7 7869 96
7 7869 96
8 9470 65
9 8676 23
10 8736 81
10 8736 93
10 8736 99
;
run;
proc sql;
	create table want as
	select c_id, fda, max(p_id)
	from datadup
	group by c_id, fda;
quit;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 01:17:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554429#M154226</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-04-27T01:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554430#M154227</link>
      <description>&lt;P&gt;Thank you VDD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think your code correctly removed the duplicates for first logic, but not for the second one. For example if you look at C_ID with 7, it didn't come correct.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 01:18:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554430#M154227</guid>
      <dc:creator>sandrube</dc:creator>
      <dc:date>2019-04-27T01:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554431#M154228</link>
      <description>&lt;P&gt;have in datadup&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;7 4645 36&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;7 4645 99&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;7 7869 74&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;7 7869 96&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;7 7869 96&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the want&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;7 4645 99&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;7 7869 96&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;7 7869 96&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;has a dup you can not have the 7 7869 96 twice based on the request.&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/272059"&gt;@sandrube&lt;/a&gt;&amp;nbsp;&lt;SPAN style="display: inline !important; float: none; background-color: #f3f3f3; color: #333333; font-family: 'HelevticaNeue-light','Helvetica Neue',Helvetica,Arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;For rows with the same C_ID and FDA,select the one with the highest P_ID.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="box-sizing: inherit; color: #333333; font-family: &amp;amp;quot; helevticaneue-light&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,helvetica,arial,sans-serif; font-size: 14px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 150%; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 01:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554431#M154228</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-04-27T01:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554432#M154229</link>
      <description>&lt;P&gt;Oh yes, I understand what you are trying to say, and you are correct. There are other variables and I didn't put them to make it simple.&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 01:27:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554432#M154229</guid>
      <dc:creator>sandrube</dc:creator>
      <dc:date>2019-04-27T01:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554433#M154230</link>
      <description>&lt;P&gt;Ok what are those other things to make it work for you or has your request been completed?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 01:29:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554433#M154230</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-04-27T01:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554434#M154231</link>
      <description>&lt;P&gt;Hello VDD, thank you so much for the help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the data:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data datadup;&lt;BR /&gt;input C_ID FDA P_ID cars$;&lt;BR /&gt;datalines;&lt;BR /&gt;1 2001 85 honda&lt;BR /&gt;1 2001 85 tesla&lt;BR /&gt;1 2099 85 toyota&lt;BR /&gt;1 2099 85 nissan&lt;BR /&gt;2 2054 85 toyota&lt;BR /&gt;2 2054 95 tesla&lt;BR /&gt;3 2043 54 toyota&lt;BR /&gt;4 2018 24 tesla&lt;BR /&gt;5 3039 93 honda&lt;BR /&gt;6 3736 37 honda&lt;BR /&gt;7 4645 36 toyota&lt;BR /&gt;7 4645 99 tesla&lt;BR /&gt;7 7869 74 nissan&lt;BR /&gt;7 7869 96 ford&lt;BR /&gt;7 7869 96 honda&lt;BR /&gt;8 9470 65 toyota&lt;BR /&gt;9 8676 23 honda&lt;BR /&gt;10 8736 81 gmc&lt;BR /&gt;10 8736 93 toyota&lt;BR /&gt;10 8736 99 honda&lt;BR /&gt;;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 01:35:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554434#M154231</guid>
      <dc:creator>sandrube</dc:creator>
      <dc:date>2019-04-27T01:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554435#M154232</link>
      <description>&lt;P&gt;ok so which car should belong to each of your want records?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 01:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554435#M154232</guid>
      <dc:creator>VDD</dc:creator>
      <dc:date>2019-04-27T01:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554436#M154233</link>
      <description>&lt;P&gt;Let me try to rephrase the logiv:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For rows with the same C_ID, keep those with highest FDA.&lt;/P&gt;&lt;P&gt;For rows with the same C_ID and FDA, keep the one with the highest P_ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 01:54:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554436#M154233</guid>
      <dc:creator>sandrube</dc:creator>
      <dc:date>2019-04-27T01:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554438#M154234</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/272059"&gt;@sandrube&lt;/a&gt;&amp;nbsp; &amp;nbsp;,&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/122002"&gt;@VDD&lt;/a&gt;&amp;nbsp; 's approach is close, needs a small tweak if i understand your req correctly&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data datadup;
input C_ID FDA P_ID cars$;
datalines;
1 2001 85 honda
1 2001 85 tesla
1 2099 85 toyota
1 2099 85 nissan
2 2054 85 toyota
2 2054 95 tesla
3 2043 54 toyota
4 2018 24 tesla
5 3039 93 honda
6 3736 37 honda
7 4645 36 toyota
7 4645 99 tesla
7 7869 74 nissan
7 7869 96 ford
7 7869 96 honda
8 9470 65 toyota
9 8676 23 honda
10 8736 81 gmc
10 8736 93 toyota
10 8736 99 honda
;
run;
proc sql;
	create table want as
	select *
	from datadup
	group by c_id, fda
	having max(p_id)=p_id;
quit;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 27 Apr 2019 02:02:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554438#M154234</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2019-04-27T02:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554439#M154235</link>
      <description>&lt;P&gt;Yes, this is perfect. Thank you so much and really appreciate your help!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2019 02:06:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554439#M154235</guid>
      <dc:creator>sandrube</dc:creator>
      <dc:date>2019-04-27T02:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554448#M154236</link>
      <description>Please mark the question as answered by selection one of the solutions above (not this post!)</description>
      <pubDate>Sat, 27 Apr 2019 04:17:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554448#M154236</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-04-27T04:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: Removing duplicates based on two logic</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554449#M154237</link>
      <description>Done! Thanks!</description>
      <pubDate>Sat, 27 Apr 2019 04:19:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-duplicates-based-on-two-logic/m-p/554449#M154237</guid>
      <dc:creator>sandrube</dc:creator>
      <dc:date>2019-04-27T04:19:43Z</dc:date>
    </item>
  </channel>
</rss>

