<?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: Assign Values for Missings in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Assign-Values-for-Missings/m-p/134164#M36425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much, Ksharp, you solved my problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 19 May 2013 19:22:33 GMT</pubDate>
    <dc:creator>PeterPanPan</dc:creator>
    <dc:date>2013-05-19T19:22:33Z</dc:date>
    <item>
      <title>Assign Values for Missings</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Assign-Values-for-Missings/m-p/134162#M36423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a data set as the picture shows below. For variable R, it has a lot of missing values. What I want to do is to assign the existing value to all the previous blanks. For example, assign 1.0219 to observation 1-10 of R, and assign 0.9598 to observations 12 to 20. Finally the variable R will have 0 missing values. Any ideas? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TIA!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="A.jpg" class="jive-image" src="https://communities.sas.com/legacyfs/online/3562_A.jpg" /&gt;A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 03:37:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Assign-Values-for-Missings/m-p/134162#M36423</guid>
      <dc:creator>PeterPanPan</dc:creator>
      <dc:date>2013-05-15T03:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Values for Missings</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Assign-Values-for-Missings/m-p/134163#M36424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;data have ;
input a b;
cards;
1 .
2 .
3 4
4 5
5 .
6 .
7 .
8 9
;
run;
data want;
do until(not missing(b));
 set have;
end;
c=b;
do until(not missing(b));
 set have; output;
end;
run;


&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ksharp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 05:08:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Assign-Values-for-Missings/m-p/134163#M36424</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2013-05-15T05:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Assign Values for Missings</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Assign-Values-for-Missings/m-p/134164#M36425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much, Ksharp, you solved my problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 May 2013 19:22:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Assign-Values-for-Missings/m-p/134164#M36425</guid>
      <dc:creator>PeterPanPan</dc:creator>
      <dc:date>2013-05-19T19:22:33Z</dc:date>
    </item>
  </channel>
</rss>

