<?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: filling in missing entries in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/re-filling-in-missing-entries/m-p/496724#M131440</link>
    <description>&lt;P&gt;Hi.....I am having trouble to get the following code to work properly. Within each ID, I am trying to replace the missing entries with non-missing entry for that ID. What I am getting is the missing entries are being replaced with the non-missing entry until it reaches a non-missing entry then it continues to replace the following missing entries with that non-missing entry. It seems to ignore the grouping by ID. Am I missing something?...Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
	set have;
	by ID notsorted;
	retain _Program;
		if not missing(Program) then 
			_Program = Program;
		else 
			Program = _Program;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 18 Sep 2018 20:32:20 GMT</pubDate>
    <dc:creator>twildone</dc:creator>
    <dc:date>2018-09-18T20:32:20Z</dc:date>
    <item>
      <title>re: filling in missing entries</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-filling-in-missing-entries/m-p/496724#M131440</link>
      <description>&lt;P&gt;Hi.....I am having trouble to get the following code to work properly. Within each ID, I am trying to replace the missing entries with non-missing entry for that ID. What I am getting is the missing entries are being replaced with the non-missing entry until it reaches a non-missing entry then it continues to replace the following missing entries with that non-missing entry. It seems to ignore the grouping by ID. Am I missing something?...Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
	set have;
	by ID notsorted;
	retain _Program;
		if not missing(Program) then 
			_Program = Program;
		else 
			Program = _Program;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Sep 2018 20:32:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-filling-in-missing-entries/m-p/496724#M131440</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2018-09-18T20:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: re: filling in missing entries</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-filling-in-missing-entries/m-p/496731#M131443</link>
      <description>&lt;P&gt;It would help if you show with example data.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps you need to reset something at FIRST.ID&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 20:43:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-filling-in-missing-entries/m-p/496731#M131443</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2018-09-18T20:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: re: filling in missing entries</title>
      <link>https://communities.sas.com/t5/SAS-Programming/re-filling-in-missing-entries/m-p/496740#M131448</link>
      <description>&lt;P&gt;Hi....thanks for the suggestion.....that what was needed.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Sep 2018 20:50:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/re-filling-in-missing-entries/m-p/496740#M131448</guid>
      <dc:creator>twildone</dc:creator>
      <dc:date>2018-09-18T20:50:34Z</dc:date>
    </item>
  </channel>
</rss>

