<?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: Replace the character with lastest records in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Replace-the-character-with-lastest-records/m-p/696463#M212739</link>
    <description>&lt;P&gt;Duplicate question.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236597"&gt;@shiv999&lt;/a&gt;&amp;nbsp;please don't post a question more than once. Everyone should respond at&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Replace-name-with-latest-entry/td-p/696461" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Replace-name-with-latest-entry/td-p/696461&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Nov 2020 12:24:50 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-11-04T12:24:50Z</dc:date>
    <item>
      <title>Replace the character with lastest records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-the-character-with-lastest-records/m-p/696455#M212736</link>
      <description>Hi guys&lt;BR /&gt;My data is like&lt;BR /&gt;Id. Name $ 10 Doj :date9. dot:date9.;&lt;BR /&gt;11235 Jim 12jul2017 01auj2018&lt;BR /&gt;11235 Jim. 12jul2019 01auj2019&lt;BR /&gt;11235 Jimcarod 12jan2020 01feb2020&lt;BR /&gt;11235 Jimcarod 12jul2020 01auj2020&lt;BR /&gt;&lt;BR /&gt;My code should replace all the row with name Jimcarod . As its is the latest entry and have same id&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Nov 2020 12:15:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-the-character-with-lastest-records/m-p/696455#M212736</guid>
      <dc:creator>shiv999</dc:creator>
      <dc:date>2020-11-04T12:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Replace the character with lastest records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-the-character-with-lastest-records/m-p/696463#M212739</link>
      <description>&lt;P&gt;Duplicate question.&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/236597"&gt;@shiv999&lt;/a&gt;&amp;nbsp;please don't post a question more than once. Everyone should respond at&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/Replace-name-with-latest-entry/td-p/696461" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/Replace-name-with-latest-entry/td-p/696461&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2020 12:24:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-the-character-with-lastest-records/m-p/696463#M212739</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-11-04T12:24:50Z</dc:date>
    </item>
    <item>
      <title>rtRe: Replace the character with lastest records</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Replace-the-character-with-lastest-records/m-p/696489#M212752</link>
      <description>&lt;P&gt;Assuming dataset have beed sort by ID , Date.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
input Id  Name $  Doj :date9. dot:date9.;
format doj dot date9.;
cards;
11235 Jim 12jul2017 01aug2018
11235 Jim. 12jul2019 01aug2019
11235 Jimcarod 12jan2020 01feb2020
11235 Jimcarod 12jul2020 01aug2020
;

data want;
 do until(last.id);
  set have;
  by id;
 end;
 _name=name;
do until(last.id);
  set have;
  by id;
  name=_name;output;
 end;
 drop _name;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 04 Nov 2020 13:06:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Replace-the-character-with-lastest-records/m-p/696489#M212752</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-11-04T13:06:37Z</dc:date>
    </item>
  </channel>
</rss>

