<?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 Same ID has same data use do loop in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Same-ID-has-same-data-use-do-loop/m-p/542679#M149955</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to fill the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same IDs have the same value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, See under table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="제목 없음.png" style="width: 562px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27892iF48C9B1525872ECD/image-size/large?v=v2&amp;amp;px=999" role="button" title="제목 없음.png" alt="제목 없음.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to fill 12th row in Dose Group '10 mg' using do loop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;becaues, 11th row and 12th row are same Subject Number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Likewise, 13th row and&amp;nbsp;14th row,&amp;nbsp;15th row and&amp;nbsp;16th row has same value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do that? Please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2019 08:21:13 GMT</pubDate>
    <dc:creator>J_hoon</dc:creator>
    <dc:date>2019-03-13T08:21:13Z</dc:date>
    <item>
      <title>Same ID has same data use do loop</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Same-ID-has-same-data-use-do-loop/m-p/542679#M149955</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to fill the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The same IDs have the same value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, See under table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="제목 없음.png" style="width: 562px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27892iF48C9B1525872ECD/image-size/large?v=v2&amp;amp;px=999" role="button" title="제목 없음.png" alt="제목 없음.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to fill 12th row in Dose Group '10 mg' using do loop&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;becaues, 11th row and 12th row are same Subject Number.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Likewise, 13th row and&amp;nbsp;14th row,&amp;nbsp;15th row and&amp;nbsp;16th row has same value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do that? Please help me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 08:21:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Same-ID-has-same-data-use-do-loop/m-p/542679#M149955</guid>
      <dc:creator>J_hoon</dc:creator>
      <dc:date>2019-03-13T08:21:13Z</dc:date>
    </item>
    <item>
      <title>Re: Same ID has same data use do loop</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Same-ID-has-same-data-use-do-loop/m-p/542680#M149956</link>
      <description>&lt;P&gt;You can do something like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data MyData;
input Subject $ DoseGroup $;
datalines;
2001 10mg
2001 .
2002 10mg
2002 .
2003 10mg
2003 .
;

data Want;
   update MyData(obs=0) MyData;
   by Subject;
   output;
run;
 
proc print data=Want noobs;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Mar 2019 08:27:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Same-ID-has-same-data-use-do-loop/m-p/542680#M149956</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-03-13T08:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Same ID has same data use do loop</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Same-ID-has-same-data-use-do-loop/m-p/542682#M149958</link>
      <description>&lt;P&gt;Can we assume that a missing value for the dose group is ALWAYS preceded by a non-missing value? Or could it be that the first value for a subject is already missing?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 08:40:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Same-ID-has-same-data-use-do-loop/m-p/542682#M149958</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-03-13T08:40:26Z</dc:date>
    </item>
  </channel>
</rss>

