<?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 Loop macro 100 times in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893867#M43667</link>
    <description>&lt;P&gt;Is there a way to loop this macro to extend the process up to 100. Using the current code, one would have to repeat increment macro 100 times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data have;&lt;BR /&gt;length num total 3.;&lt;BR /&gt;input num total 3.;&lt;BR /&gt;datalines;&lt;BR /&gt;1 10&lt;BR /&gt;2 20&lt;BR /&gt;3 30&lt;BR /&gt;4 40&lt;BR /&gt;5 50&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;%macro increment (from=, to=);&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;create table want_&amp;amp;from. as select&lt;BR /&gt;"from &amp;amp;from. to &amp;amp;to." as desc, sum(total) as new_total&lt;BR /&gt;from have where num ge &amp;amp;from. and num le &amp;amp;to.&lt;BR /&gt;group by desc&lt;BR /&gt;;quit;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%mend;&lt;BR /&gt;%increment (from=1, to=2);&lt;BR /&gt;%increment (from=2, to=3);&lt;BR /&gt;%increment (from=3, to=4);&lt;BR /&gt;%increment (from=4, to=5);&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2023 18:39:54 GMT</pubDate>
    <dc:creator>whoskeyinlima</dc:creator>
    <dc:date>2023-09-12T18:39:54Z</dc:date>
    <item>
      <title>Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893867#M43667</link>
      <description>&lt;P&gt;Is there a way to loop this macro to extend the process up to 100. Using the current code, one would have to repeat increment macro 100 times.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data have;&lt;BR /&gt;length num total 3.;&lt;BR /&gt;input num total 3.;&lt;BR /&gt;datalines;&lt;BR /&gt;1 10&lt;BR /&gt;2 20&lt;BR /&gt;3 30&lt;BR /&gt;4 40&lt;BR /&gt;5 50&lt;BR /&gt;;&lt;/P&gt;&lt;P&gt;%macro increment (from=, to=);&lt;/P&gt;&lt;P&gt;proc sql;&lt;BR /&gt;create table want_&amp;amp;from. as select&lt;BR /&gt;"from &amp;amp;from. to &amp;amp;to." as desc, sum(total) as new_total&lt;BR /&gt;from have where num ge &amp;amp;from. and num le &amp;amp;to.&lt;BR /&gt;group by desc&lt;BR /&gt;;quit;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;%mend;&lt;BR /&gt;%increment (from=1, to=2);&lt;BR /&gt;%increment (from=2, to=3);&lt;BR /&gt;%increment (from=3, to=4);&lt;BR /&gt;%increment (from=4, to=5);&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 18:39:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893867#M43667</guid>
      <dc:creator>whoskeyinlima</dc:creator>
      <dc:date>2023-09-12T18:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893868#M43668</link>
      <description>&lt;P&gt;First, I question whether or not a macro is needed here. Usually, the idea of pulling data sets apart like this is completely unnecessary, as most analyses can be performed by using BY statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In&amp;nbsp; the event that you can't do whatever comes next with BY statements, first convince me that the above paragraph doesn't apply. Next step in creating a macro is to get the code to work for two iterations, in this case two different FROM values, without macros and without macro variables. It looks like you have errors in the code you show which must be fixed first; it looks like you haven't yet got the code working for two (or more) FROM values. Once that is working, show us the code and we can help further.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 18:45:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893868#M43668</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-09-12T18:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893878#M43669</link>
      <description>&lt;P&gt;The code works and here are the output for HAVE, WANT_1, and WANT_4.&amp;nbsp; I look forward to learn how the BY statement works here. Thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whoskeyinlima_0-1694545107714.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87834i18FC234A894A2664/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whoskeyinlima_0-1694545107714.png" alt="whoskeyinlima_0-1694545107714.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whoskeyinlima_1-1694545125936.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87835i23FCE612179D4ADC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whoskeyinlima_1-1694545125936.png" alt="whoskeyinlima_1-1694545125936.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whoskeyinlima_2-1694545150329.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87836i84E4D8D6498F2547/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whoskeyinlima_2-1694545150329.png" alt="whoskeyinlima_2-1694545150329.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 19:04:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893878#M43669</guid>
      <dc:creator>whoskeyinlima</dc:creator>
      <dc:date>2023-09-12T19:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893879#M43670</link>
      <description>&lt;P&gt;What are you going to do with all these data sets once you create them? What analysis? What report? What next steps?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or is the entire goal to get a table of sums for each value of &amp;amp;FROM?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 19:08:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893879#M43670</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-09-12T19:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893885#M43671</link>
      <description>Optimal solution really depends on how to scale this. For example, if it really is just sum and adding up the prior row, then you could do it in a data step. If you have multiple records and just summing the two levels, also in a data step. There's a bunch of different ways. Not sure BY would work, but this isn't optimal by any means. If you explain your use case in more detail we can provide a better solution. Otherwise right now, this seems like the definition of an XY problem (&lt;A href="https://xyproblem.info/" target="_blank"&gt;https://xyproblem.info/&lt;/A&gt;)</description>
      <pubDate>Tue, 12 Sep 2023 19:29:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893885#M43671</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-09-12T19:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893887#M43672</link>
      <description>&lt;P&gt;Here is the answer to your question, but like others have mentioned, this isn't a good idea.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
do i=1 to 99;
    str = catt('%increment(from =', put(i, 8. -l) , " , to = " , put(i+1, 8. -l), ");");
    call execute(str);
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/244686"&gt;@whoskeyinlima&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is there a way to loop this macro to extend the process up to 100. Using the current code, one would have to repeat increment macro 100 times.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data have;&lt;BR /&gt;length num total 3.;&lt;BR /&gt;input num total 3.;&lt;BR /&gt;datalines;&lt;BR /&gt;1 10&lt;BR /&gt;2 20&lt;BR /&gt;3 30&lt;BR /&gt;4 40&lt;BR /&gt;5 50&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;%macro increment (from=, to=);&lt;/P&gt;
&lt;P&gt;proc sql;&lt;BR /&gt;create table want_&amp;amp;from. as select&lt;BR /&gt;"from &amp;amp;from. to &amp;amp;to." as desc, sum(total) as new_total&lt;BR /&gt;from have where num ge &amp;amp;from. and num le &amp;amp;to.&lt;BR /&gt;group by desc&lt;BR /&gt;;quit;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;%mend;&lt;BR /&gt;%increment (from=1, to=2);&lt;BR /&gt;%increment (from=2, to=3);&lt;BR /&gt;%increment (from=3, to=4);&lt;BR /&gt;%increment (from=4, to=5);&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 19:39:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893887#M43672</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-09-12T19:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893900#M43673</link>
      <description>&lt;P&gt;Purpose of the code? Really tell us where you are going with this.&lt;/P&gt;
&lt;P&gt;If the purpose is to group values by combinations of NUM to sum the TOTAL variable here's one way that does that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data have;
length num total 3.;
input num total 3.;
datalines;
1 10
2 20
3 30
4 40
5 50
;

proc format;
value mygroups (multilabel)
1 - 2 = '1 to 2'
2 - 3 = '2 to 3'
3 - 4 = '3 to 4'
4 - 5 = '4 to 5'
1 - 3 = '1 to 3'
2 - 5 = '2 to 5'
;
run;

proc summary data=have nway;
   class num/mlf;
   format num mygroups.;
   var total;
   output out=want (drop=_type_ freq) sum=;
run;

proc tabulate data=have;
   class num/mlf;
   format num mygroups.;
   var total;
   table num,
         total*sum
         ;
run;&lt;/PRE&gt;
&lt;P&gt;Formats can create groups of values that will be honored by many procedures. However there is a special class of formats called multilabel that allow multiple overlapping ranges. Only a few procedures can use them, Means/Summary Tabulate and Report, but when they work it can be quite slick, as above. I included these overlaps to create groups because the method you show is not limited to none overlapping values such as the 1 to 3 and 2 to 5 I included.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This format grouping approach is extremely flexible in that if I have to create a different set of groups I only need create another format and run the Proc Summary or Tabulate using the other format. No need to create another 100 (or 30 or 200) datasets, just a new format code. IF the limits you need exist in a data set or have the implied order (you show exactly 4 of "100") values for Num to group with it could be that the format process could be automated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But really, tell us what the whole process is supposed to do.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 19:51:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893900#M43673</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-12T19:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893912#M43674</link>
      <description>&lt;P&gt;Thanks Reeza.&amp;nbsp; Yes, they didn't represent the real data, so I simplified and scaled down using those examples.&amp;nbsp; The summing level was just an addition that was not needed.&amp;nbsp; The goal with all those WANT_XX tables is to append them. If the images below represent what I have and want. The repeated increment macro works, but I'm not sure it's optimal.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whoskeyinlima_0-1694548586928.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87848i8D39AEF9DF357F02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whoskeyinlima_0-1694548586928.png" alt="whoskeyinlima_0-1694548586928.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whoskeyinlima_1-1694549603595.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87849iCF2A7340FDF90783/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whoskeyinlima_1-1694549603595.png" alt="whoskeyinlima_1-1694549603595.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 20:16:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893912#M43674</guid>
      <dc:creator>whoskeyinlima</dc:creator>
      <dc:date>2023-09-12T20:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893930#M43676</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/244686"&gt;@whoskeyinlima&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks Reeza.&amp;nbsp; Yes, they didn't represent the real data, so I simplified and scaled down using those examples.&amp;nbsp; The summing level was just an addition that was not needed.&amp;nbsp; The goal with all those WANT_XX tables is to append them. If the images below represent what I have and want. The repeated increment macro works, but I'm not sure it's optimal.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whoskeyinlima_0-1694548586928.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87848i8D39AEF9DF357F02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whoskeyinlima_0-1694548586928.png" alt="whoskeyinlima_0-1694548586928.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whoskeyinlima_1-1694549603595.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87849iCF2A7340FDF90783/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whoskeyinlima_1-1694549603595.png" alt="whoskeyinlima_1-1694549603595.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a simple application of PROC SUMMARY. By telling us you want to use a macro that does something 100 times, you have pointed yourself and us in a direction that isn't optimal — better would be to just describe the data and describe what you want to do with it, rather than starting by saying you want a macro.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have1;
    set have;
    num1=floor(num);
run;
proc summary data=have1 nway;
    class num1;
    var total;
    output out=want sum=;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 20:44:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893930#M43676</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-09-12T20:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893931#M43677</link>
      <description>&lt;P&gt;Exactly what I needed.. So much appreciated!!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":ok_hand:"&gt;👌&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 20:46:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893931#M43677</guid>
      <dc:creator>whoskeyinlima</dc:creator>
      <dc:date>2023-09-12T20:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893936#M43678</link>
      <description>&lt;P&gt;A data step also works &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
length num total 3.;
input num total 3.;
datalines;
1 10
2 20
3 30
4 40
5 50
;

data want;
set have;
prev_total = lag(total);
prev_num =lag(num);

if _n_ &amp;gt; 1 then do;
desc = 'from '|| trim(put(prev_num, 8. -l)) || " to " ||  put(num, 8. -l);
new_total = total+prev_total;
output;
end;

keep desc new_total;
run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Sep 2023 20:52:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893936#M43678</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-09-12T20:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893947#M43679</link>
      <description>&lt;P&gt;Yes it works. I am opposed to writing data step code to do things that are already programmed in a PROC. Too many people, especially beginners, seem to struggle with this, and so I do not recommend beginners writing data step code when a PROC will do the same thing. I know that you, &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;, can write such data step code in your sleep, with one hand tied behind your back, but beginners really ought to use the proper PROC.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 21:25:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893947#M43679</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-09-12T21:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893950#M43680</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/244686"&gt;@whoskeyinlima&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks Reeza.&amp;nbsp; Yes, they didn't represent the real data, so I simplified and scaled down using those examples.&amp;nbsp; The summing level was just an addition that was not needed.&amp;nbsp; The goal with all those WANT_XX tables is to append them. If the images below represent what I have and want. The repeated increment macro works, but I'm not sure it's optimal.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whoskeyinlima_0-1694548586928.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87848i8D39AEF9DF357F02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whoskeyinlima_0-1694548586928.png" alt="whoskeyinlima_0-1694548586928.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="whoskeyinlima_1-1694549603595.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/87849iCF2A7340FDF90783/image-size/medium?v=v2&amp;amp;px=400" role="button" title="whoskeyinlima_1-1694549603595.png" alt="whoskeyinlima_1-1694549603595.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Since you don't show any of the code for APPENDING all of these "increment" data sets I suggest that you really want to look at the solution I propose for the solution with a format because it has the "want" result without appending anything.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 21:27:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/893950#M43680</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-09-12T21:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Loop macro 100 times</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/894125#M43682</link>
      <description>&lt;P&gt;Just to include my $.02 worth, i) I think it's great that Reeza is showing an alternate way of doing it, but ii) I absolutely agree with Paige that less-experienced developers should always use a PROC, if possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 17:38:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Loop-macro-100-times/m-p/894125#M43682</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2023-09-13T17:38:01Z</dc:date>
    </item>
  </channel>
</rss>

