<?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: Do loop for monthly matrix migration in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Do-loop-for-monthly-matrix-migration/m-p/806475#M317747</link>
    <description>&lt;P&gt;I think more context is needed. Saying you want JAN and FEB on the first iteration ... okay, how will JAN and FEB actually be used within the macro? Also, JAN and FEB ought to have year associated with it.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Apr 2022 11:44:56 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-04-07T11:44:56Z</dc:date>
    <item>
      <title>Do loop for monthly matrix migration</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Do-loop-for-monthly-matrix-migration/m-p/806455#M317738</link>
      <description>&lt;P&gt;Hi! I'm quite new to SAS and would like your help on the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to perform a do loop using macro variables from a specific start date to a specific end date.&lt;/P&gt;&lt;P&gt;I want the macro to perform on the startdate and the startdate + 1 month at a time. For instance:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;startdate = Jan&lt;/P&gt;&lt;P&gt;Enddate = Dec&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first iteration should select Jan and Feb. Second iteration should select Feb and Mar. And this should be repeated until Nov and Dec.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help or tips on how I should approach this would be appreciated. Again, I'm new to SAS and not quite sure how macro coding works yet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 09:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Do-loop-for-monthly-matrix-migration/m-p/806455#M317738</guid>
      <dc:creator>Giraffe123</dc:creator>
      <dc:date>2022-04-07T09:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Do loop for monthly matrix migration</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Do-loop-for-monthly-matrix-migration/m-p/806475#M317747</link>
      <description>&lt;P&gt;I think more context is needed. Saying you want JAN and FEB on the first iteration ... okay, how will JAN and FEB actually be used within the macro? Also, JAN and FEB ought to have year associated with it.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Apr 2022 11:44:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Do-loop-for-monthly-matrix-migration/m-p/806475#M317747</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-04-07T11:44:56Z</dc:date>
    </item>
  </channel>
</rss>

