<?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: add missing records to the dataset in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113052#M31317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would think that you can't do it in the same data step.&amp;nbsp; You need to first sort the data, then you can use first. processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data = have ; by visit order ;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have_checked ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by visit order ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if first.visit and order &amp;gt; 1 then do ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * output original row ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * now create missing order rows ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i = 1 to order-1 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order = i ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var = 0 ;&amp;nbsp; *corrected to set var = 0, as specified in the question;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else output ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop i ;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* now resort dataset ;&lt;/P&gt;&lt;P&gt;proc sort data = have_checked ; by visit order ;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2013 14:38:35 GMT</pubDate>
    <dc:creator>cwilson</dc:creator>
    <dc:date>2013-01-03T14:38:35Z</dc:date>
    <item>
      <title>add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113049#M31314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone, and happy new year!&lt;/P&gt;&lt;P&gt;They are some ways to add the records var=0 in visit=2 and visit=4 when order=1 is missing to my have dataset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; input visit order var;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0 1 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; 0 2 3&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 1 3&lt;/P&gt;&lt;P&gt;&amp;nbsp; 1 2 4&lt;/P&gt;&lt;P&gt;&amp;nbsp; 2 2 2&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3 1 4&lt;/P&gt;&lt;P&gt;&amp;nbsp; 3 2 5&lt;/P&gt;&lt;P&gt;&amp;nbsp; 4 2 6&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 11:34:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113049#M31314</guid>
      <dc:creator>michtka</dc:creator>
      <dc:date>2013-01-03T11:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113050#M31315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi michtka,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy new year for you, as well! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having trouble understanding your problem. Could you perhaps please try to rephrase the question? Or could you maybe post us your desired output dataset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure there is a solution to your problem, I just haven't fully understood it yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 14:31:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113050#M31315</guid>
      <dc:creator>mfab</dc:creator>
      <dc:date>2013-01-03T14:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113051#M31316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The value of VAR will be missing.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="font-family: Courier New; font-size: 11pt;"&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;data&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; have;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;input&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; visit order var;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;datalines&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffc0;"&gt;&amp;nbsp; 0 1 1&lt;BR /&gt;&amp;nbsp; 0 2 3&lt;BR /&gt;&amp;nbsp; 1 1 3&lt;BR /&gt;&amp;nbsp; 1 2 4&lt;BR /&gt;&amp;nbsp; 2 2 2&lt;BR /&gt;&amp;nbsp; 3 1 4&lt;BR /&gt;&amp;nbsp; 3 2 5&lt;BR /&gt;&amp;nbsp; 4 2 6&lt;BR /&gt;&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;proc&lt;/STRONG&gt; &lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;summary&lt;/STRONG&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;data&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=have &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;completetypes&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;nway&lt;/SPAN&gt;; &lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt; visit order;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;output&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;=test &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;idgroup&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;out&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #ffffff;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;)=);&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="color: #000080; background-color: #ffffff;"&gt;run&lt;/STRONG&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 14:35:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113051#M31316</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-01-03T14:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113052#M31317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would think that you can't do it in the same data step.&amp;nbsp; You need to first sort the data, then you can use first. processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sort data = have ; by visit order ;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have_checked ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set have ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; by visit order ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if first.visit and order &amp;gt; 1 then do ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * output original row ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; * now create missing order rows ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; do i = 1 to order-1 ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order = i ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var = 0 ;&amp;nbsp; *corrected to set var = 0, as specified in the question;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; output ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; end ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else output ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; drop i ;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* now resort dataset ;&lt;/P&gt;&lt;P&gt;proc sort data = have_checked ; by visit order ;&lt;/P&gt;&lt;P&gt;run ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 14:38:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113052#M31317</guid>
      <dc:creator>cwilson</dc:creator>
      <dc:date>2013-01-03T14:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113053#M31318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using DN's method will produce missing for the new var 0s.&amp;nbsp; Why not just add the records manually?&amp;nbsp; e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input visit order var;&lt;/P&gt;&lt;P&gt;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;0 1 1&lt;/P&gt;&lt;P&gt;0 2 3&lt;/P&gt;&lt;P&gt;1 1 3&lt;/P&gt;&lt;P&gt;1 2 4&lt;/P&gt;&lt;P&gt;2 2 2&lt;/P&gt;&lt;P&gt;3 1 4&lt;/P&gt;&lt;P&gt;3 2 5&lt;/P&gt;&lt;P&gt;4 2 6&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data to_add;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input visit order var;&lt;/P&gt;&lt;P&gt;&amp;nbsp; datalines;&lt;/P&gt;&lt;P&gt;2 1 0&lt;/P&gt;&lt;P&gt;4 1 0&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have to_add;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 14:40:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113053#M31318</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-01-03T14:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113054#M31319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah!&amp;nbsp; data_null_ answer is much more clever!&amp;nbsp; I learned something new today!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 14:44:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113054#M31319</guid>
      <dc:creator>cwilson</dc:creator>
      <dc:date>2013-01-03T14:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113055#M31320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;
&lt;P&gt;Arthur Tabachneck wrote:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Why not just add the records manually?&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if you don't know which ones are missing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 14:50:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113055#M31320</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-01-03T14:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113056#M31321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do not recommend a manual data step.&amp;nbsp; We want a solution that can be used on a much larger dataset, without previous knowledge of the missing rows.&amp;nbsp; We want a solution that the computer can do for us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 14:55:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113056#M31321</guid>
      <dc:creator>cwilson</dc:creator>
      <dc:date>2013-01-03T14:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113057#M31322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Genius!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 15:24:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113057#M31322</guid>
      <dc:creator>michtka</dc:creator>
      <dc:date>2013-01-03T15:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113058#M31323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks cwilson, nice one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 15:27:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113058#M31323</guid>
      <dc:creator>michtka</dc:creator>
      <dc:date>2013-01-03T15:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113059#M31324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="2488" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;: Aside from learning DN's always fascinating approaches to various problems, there is another lesson to be learned here: the more clearly one can state the problem they are trying to solve, the more likely they will obtain the best solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mentioned "&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;We want a solution&lt;/SPAN&gt; ..", but the thread was posted by &lt;A __default_attr="7405" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;.&amp;nbsp; Regardless, the specs were for:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt; "add the records var=0 in visit=2 and visit=4 when order=1"&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That apparently was not what was actually wanted but it is what was requested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 15:54:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113059#M31324</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2013-01-03T15:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113060#M31325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Point taken.&amp;nbsp; When I said "We want", perhaps what I should have said was "One should strive for".&amp;nbsp; Furthermore, I "assumed" that the example data was merely for posting, and that a solution for a larger, "real world" dataset was needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 16:04:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113060#M31325</guid>
      <dc:creator>cwilson</dc:creator>
      <dc:date>2013-01-03T16:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: add missing records to the dataset</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113061#M31326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, Carla Wilson your inference was right, my real problem was a bigger data set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apologize Sr. Arthur for being simplistic in my post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, Thanks for your help guys. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 17:19:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/add-missing-records-to-the-dataset/m-p/113061#M31326</guid>
      <dc:creator>michtka</dc:creator>
      <dc:date>2013-01-03T17:19:42Z</dc:date>
    </item>
  </channel>
</rss>

