<?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 How to populate table with all possible dates between the first (minimum) and last (maximum) date. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-populate-table-with-all-possible-dates-between-the-first/m-p/358571#M274383</link>
    <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a table&amp;nbsp;with a first (minimum) and last (maximum) date from another dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how the above metioned table looks.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8872i37A29CB4BC1AD9C3/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;I want to create another table starting from the first (Minimum) date and creating all possible dates up until the last (Maximum) date.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do anyone maybe have a suggestion to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Sun, 14 May 2017 17:21:05 GMT</pubDate>
    <dc:creator>SchalkBurger</dc:creator>
    <dc:date>2017-05-14T17:21:05Z</dc:date>
    <item>
      <title>How to populate table with all possible dates between the first (minimum) and last (maximum) date.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-populate-table-with-all-possible-dates-between-the-first/m-p/358571#M274383</link>
      <description>&lt;P&gt;Hello everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a table&amp;nbsp;with a first (minimum) and last (maximum) date from another dataset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how the above metioned table looks.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/8872i37A29CB4BC1AD9C3/image-size/original?v=1.0&amp;amp;px=-1" border="0" alt="Capture.JPG" title="Capture.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;I want to create another table starting from the first (Minimum) date and creating all possible dates up until the last (Maximum) date.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do anyone maybe have a suggestion to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2017 17:21:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-populate-table-with-all-possible-dates-between-the-first/m-p/358571#M274383</guid>
      <dc:creator>SchalkBurger</dc:creator>
      <dc:date>2017-05-14T17:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate table with all possible dates between the first (minimum) and last (maximum) dat</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-populate-table-with-all-possible-dates-between-the-first/m-p/358583#M274384</link>
      <description>&lt;P&gt;Use a DO loop with the start and end variables as the dates and an explicit OUTPUT statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;

    set have;

   do date=start_date to end_date;
       
       OUTPUT;

   end;

run;

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 14 May 2017 18:49:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-populate-table-with-all-possible-dates-between-the-first/m-p/358583#M274384</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-14T18:49:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate table with all possible dates between the first (minimum) and last (maximum) dat</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-populate-table-with-all-possible-dates-between-the-first/m-p/358598#M274385</link>
      <description>&lt;P&gt;Thank you for the help Reeza.&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2017 20:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-populate-table-with-all-possible-dates-between-the-first/m-p/358598#M274385</guid>
      <dc:creator>SchalkBurger</dc:creator>
      <dc:date>2017-05-14T20:04:49Z</dc:date>
    </item>
  </channel>
</rss>

