<?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: How to create loop for every month updated 12 months data? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388800#M277423</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Now, I want to calculate March value based on Jan and New Feb values;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Explain. What is the calculation? Sum? Average? Delta? Time series prediction? arc-cosine?&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 13:55:21 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2017-08-17T13:55:21Z</dc:date>
    <item>
      <title>How to create loop for every month updated 12 months data?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388795#M277421</link>
      <description>&lt;P&gt;I have master data of 12 months.&amp;nbsp;I am caluclating value of one varible based on previous months values. I have calculated Feb values based on Jan values. Now, I want to calculate March value based on Jan and New Feb values; April value based on Jan, New Feb, New March values and so on...The new monthly value has to go in master dataset everytime. I have to use updated master file everytime.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help me to write the loop?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 13:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388795#M277421</guid>
      <dc:creator>sasuser1031</dc:creator>
      <dc:date>2017-08-17T13:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create loop for every month updated 12 months data?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388799#M277422</link>
      <description>&lt;P&gt;The answer to your question depends on your dataset format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please provide a sample data with the 12 month in it.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 13:54:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388799#M277422</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-17T13:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to create loop for every month updated 12 months data?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388800#M277423</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;Now, I want to calculate March value based on Jan and New Feb values;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Explain. What is the calculation? Sum? Average? Delta? Time series prediction? arc-cosine?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 13:55:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388800#M277423</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-08-17T13:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to create loop for every month updated 12 months data?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388809#M277424</link>
      <description>&lt;P&gt;I have caluclated it &amp;nbsp;for Feb and &amp;nbsp;applied back on master dataset I am just trying to iterative process for 12 months. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 14:14:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388809#M277424</guid>
      <dc:creator>sasuser1031</dc:creator>
      <dc:date>2017-08-17T14:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to create loop for every month updated 12 months data?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388810#M277425</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have caluclated it &amp;nbsp;for Feb and &amp;nbsp;applied back on master dataset I am&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;just trying to iterative process for 12 months.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 14:15:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388810#M277425</guid>
      <dc:creator>sasuser1031</dc:creator>
      <dc:date>2017-08-17T14:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create loop for every month updated 12 months data?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388811#M277426</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/75014"&gt;@sasuser1031&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I have caluclated it &amp;nbsp;for Feb and &amp;nbsp;applied back on master dataset I am just trying to iterative process for 12 months. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This completely avoids answering the question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We still don't know what the calculation is that you are doing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And you haven't provided an example, as was also&amp;nbsp;requested.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 14:58:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388811#M277426</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-08-17T14:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to create loop for every month updated 12 months data?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388815#M277427</link>
      <description>&lt;P&gt;Does this answers your question:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;do i = 1 to 12;
    if i &amp;gt; 2 then do j=1 to i;
       &amp;lt;calculate month(j) depending on month(i)&amp;gt;
   end;
end;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 17 Aug 2017 14:26:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-create-loop-for-every-month-updated-12-months-data/m-p/388815#M277427</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2017-08-17T14:26:53Z</dc:date>
    </item>
  </channel>
</rss>

