<?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: Macro Inside a Macro? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-Inside-a-Macro/m-p/125242#M25587</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if the OUTER writes the INNER using the parameters or data passed to OUTER.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2013 21:35:36 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2013-03-01T21:35:36Z</dc:date>
    <item>
      <title>Macro Inside a Macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Inside-a-Macro/m-p/125239#M25584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am writing a fairly complex report that uses ODS REGIONs and is encapsulated inside a macro.&amp;nbsp; One of the things I do is call another macro to handle the custom footnote area (I am not using a traditional footnote).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both the main report macro and the footnote macro are ONLY used for this report task. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So should the footnote macro be INSIDE the MAIN macro or outside of it in the same SAS program file or does it really matter?&amp;nbsp; Guess I am looking for a best practice as I doubt it matters...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 19:35:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Inside-a-Macro/m-p/125239#M25584</guid>
      <dc:creator>tbellmer</dc:creator>
      <dc:date>2013-03-01T19:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Inside a Macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Inside-a-Macro/m-p/125240#M25585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Best practice ... do not nest macros&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 20:47:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Inside-a-Macro/m-p/125240#M25585</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2013-03-01T20:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Inside a Macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Inside-a-Macro/m-p/125241#M25586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agreed, except in the rarest of circumstances.&amp;nbsp; Consider nesting definitions only when:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) The macros are always married and never useful as separate macros, and&lt;/P&gt;&lt;P&gt;(2) The outer macro is used only once per program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consider that the inner macro could at some point have expanded functionality that might make it useful for other applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also consider that when you nest macros, each time you execute the outer macro it redefines the inner macro.&amp;nbsp; That represents extra work (even if it might be a small amount of extra work).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 21:09:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Inside-a-Macro/m-p/125241#M25586</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2013-03-01T21:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: Macro Inside a Macro?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-Inside-a-Macro/m-p/125242#M25587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or if the OUTER writes the INNER using the parameters or data passed to OUTER.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 21:35:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-Inside-a-Macro/m-p/125242#M25587</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-03-01T21:35:36Z</dc:date>
    </item>
  </channel>
</rss>

