<?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: Storing a SAS Macro &amp;amp; calling it in a different program in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Storing-a-SAS-Macro-amp-calling-it-in-a-different-program/m-p/333428#M22163</link>
    <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/120339"&gt;@Lopa2016&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have several options for this! You can give a read to: &lt;A href="http://www2.sas.com/proceedings/sugi27/p017-27.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi27/p017-27.pdf&lt;/A&gt; and &lt;A href="http://support.sas.com/resources/papers/proceedings09/076-2009.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings09/076-2009.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The most simple option, and the one you refer at is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename macdef1
‘c:\mymacros\macdef1.sas’;
........
%include macdef1;
........
%macdef
........&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to give a read to the Autocall facility (on the 2 papers already mentioned), since it helps a lot to organize collaborative work.&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2017 15:35:20 GMT</pubDate>
    <dc:creator>JuanS_OCS</dc:creator>
    <dc:date>2017-02-16T15:35:20Z</dc:date>
    <item>
      <title>Storing a SAS Macro &amp; calling it in a different program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Storing-a-SAS-Macro-amp-calling-it-in-a-different-program/m-p/333420#M22162</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have multiple macros which I would like to call from one program. But the online support docsthat I looked at says it can be achieved both by autocall &amp;amp; %include. But I am unable to get a clarity on how to use or which will be the best method.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would be great if someone can help me out with some useful links which takes you through storing a macro &amp;amp; then calling it in a different program.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 15:25:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Storing-a-SAS-Macro-amp-calling-it-in-a-different-program/m-p/333420#M22162</guid>
      <dc:creator>Lopa2016</dc:creator>
      <dc:date>2017-02-16T15:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Storing a SAS Macro &amp; calling it in a different program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Storing-a-SAS-Macro-amp-calling-it-in-a-different-program/m-p/333428#M22163</link>
      <description>&lt;P&gt;Hello &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/120339"&gt;@Lopa2016&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have several options for this! You can give a read to: &lt;A href="http://www2.sas.com/proceedings/sugi27/p017-27.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi27/p017-27.pdf&lt;/A&gt; and &lt;A href="http://support.sas.com/resources/papers/proceedings09/076-2009.pdf" target="_blank"&gt;http://support.sas.com/resources/papers/proceedings09/076-2009.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The most simple option, and the one you refer at is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename macdef1
‘c:\mymacros\macdef1.sas’;
........
%include macdef1;
........
%macdef
........&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might want to give a read to the Autocall facility (on the 2 papers already mentioned), since it helps a lot to organize collaborative work.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2017 15:35:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Storing-a-SAS-Macro-amp-calling-it-in-a-different-program/m-p/333428#M22163</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-02-16T15:35:20Z</dc:date>
    </item>
  </channel>
</rss>

