<?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: Macros in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/282868#M57553</link>
    <description>&lt;P&gt;You can control the number of rows with Outer loop and number of columns with inner loop variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%MACRO T;&lt;BR /&gt;data k;&lt;BR /&gt;%do j= 2 %to 3;&lt;BR /&gt;%do i= 1 %to 10;&lt;BR /&gt;var&amp;amp;i=&amp;amp;i**&amp;amp;j;&lt;BR /&gt;%end;&lt;BR /&gt;output;&lt;BR /&gt;%end;&lt;BR /&gt;run;&lt;BR /&gt;%MEND;&lt;BR /&gt;%T;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Jul 2016 06:30:39 GMT</pubDate>
    <dc:creator>RahulG</dc:creator>
    <dc:date>2016-07-08T06:30:39Z</dc:date>
    <item>
      <title>Macros</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/282867#M57552</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i am not able to solve this question&lt;/P&gt;&lt;P&gt;what should be the code for this question ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Write a macro to create the following dataset&amp;nbsp;&lt;/P&gt;&lt;P&gt;var_1 var_2 .....var_9 var_10&lt;/P&gt;&lt;P&gt;1 4 .... 81 100&lt;/P&gt;&lt;P&gt;1 8 .... 729 1000&lt;/P&gt;&lt;P&gt;please help ?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 06:09:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/282867#M57552</guid>
      <dc:creator>Prateek1</dc:creator>
      <dc:date>2016-07-08T06:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Macros</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/282868#M57553</link>
      <description>&lt;P&gt;You can control the number of rows with Outer loop and number of columns with inner loop variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;%MACRO T;&lt;BR /&gt;data k;&lt;BR /&gt;%do j= 2 %to 3;&lt;BR /&gt;%do i= 1 %to 10;&lt;BR /&gt;var&amp;amp;i=&amp;amp;i**&amp;amp;j;&lt;BR /&gt;%end;&lt;BR /&gt;output;&lt;BR /&gt;%end;&lt;BR /&gt;run;&lt;BR /&gt;%MEND;&lt;BR /&gt;%T;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 06:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/282868#M57553</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2016-07-08T06:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Macros</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/282873#M57557</link>
      <description>&lt;P&gt;Maybe I'm missing it but what's the logic? I'm also assuming this is homework because practically it has no purpose. I feel there has to be more to the question though, otherwise macros don't add any value at all.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 07:19:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macros/m-p/282873#M57557</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-07-08T07:19:09Z</dc:date>
    </item>
  </channel>
</rss>

