<?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 Give a best solution in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Give-a-best-solution/m-p/557010#M155230</link>
    <description>Id. Dateofjoining&lt;BR /&gt;101 21Aug2018&lt;BR /&gt;102 22Aug2018&lt;BR /&gt;103 17Aug2018&lt;BR /&gt;104 25Aug2018&lt;BR /&gt;&lt;BR /&gt;As per series 103 should be 23 or 24 Aug . How to pick the odd one out or remove 103 row.</description>
    <pubDate>Wed, 08 May 2019 05:46:27 GMT</pubDate>
    <dc:creator>shivagujjaru</dc:creator>
    <dc:date>2019-05-08T05:46:27Z</dc:date>
    <item>
      <title>Give a best solution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Give-a-best-solution/m-p/557010#M155230</link>
      <description>Id. Dateofjoining&lt;BR /&gt;101 21Aug2018&lt;BR /&gt;102 22Aug2018&lt;BR /&gt;103 17Aug2018&lt;BR /&gt;104 25Aug2018&lt;BR /&gt;&lt;BR /&gt;As per series 103 should be 23 or 24 Aug . How to pick the odd one out or remove 103 row.</description>
      <pubDate>Wed, 08 May 2019 05:46:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Give-a-best-solution/m-p/557010#M155230</guid>
      <dc:creator>shivagujjaru</dc:creator>
      <dc:date>2019-05-08T05:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Give a best solution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Give-a-best-solution/m-p/557011#M155231</link>
      <description>&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input Id Dateofjoining :date9.;
diff=coalesce(dif(Dateofjoining),0);
if not (diff&amp;lt;0);
cards;
101 21Aug2018
102 22Aug2018
103 17Aug2018
104 25Aug2018
105 27Aug2018
106 18Aug2018
107 30Aug2018
;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 May 2019 06:08:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Give-a-best-solution/m-p/557011#M155231</guid>
      <dc:creator>Jagadishkatam</dc:creator>
      <dc:date>2019-05-08T06:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: Give a best solution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Give-a-best-solution/m-p/557089#M155256</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input Id Date : date9.;
format date date9.;
cards;
101 21Aug2018
102 22Aug2018
103 17Aug2018
104 25Aug2018
;

data want;
 set have;
 retain temp;
 if temp&amp;lt;date then temp=date;
  else flag=1;
  drop temp;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 May 2019 12:54:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Give-a-best-solution/m-p/557089#M155256</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-05-08T12:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Give a best solution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Give-a-best-solution/m-p/557100#M155261</link>
      <description>What value does temp represent here</description>
      <pubDate>Wed, 08 May 2019 13:27:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Give-a-best-solution/m-p/557100#M155261</guid>
      <dc:creator>shivagujjaru</dc:creator>
      <dc:date>2019-05-08T13:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Give a best solution</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Give-a-best-solution/m-p/557106#M155264</link>
      <description>&lt;P&gt;temp hold the max date when go through the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token datalines"&gt;&lt;SPAN class="token data string"&gt;101 21Aug2018
102 22Aug2018
&lt;STRONG&gt;103 17Aug2018&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;100 18Aug2018&lt;/STRONG&gt;
104 25Aug2018
&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;103 and 100 is you want removed ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2019 13:47:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Give-a-best-solution/m-p/557106#M155264</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-05-08T13:47:45Z</dc:date>
    </item>
  </channel>
</rss>

