<?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: Load many macro when SAS start in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Load-many-macro-when-SAS-start/m-p/525947#M143131</link>
    <description>&lt;P&gt;This SAS note explains AUTOCALL macro libraries pretty well:&amp;nbsp;&lt;A href="http://support.sas.com/kb/24/451.html" target="_blank"&gt;http://support.sas.com/kb/24/451.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can thoroughly recommend their use.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Jan 2019 00:53:25 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-01-10T00:53:25Z</dc:date>
    <item>
      <title>Load many macro when SAS start</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Load-many-macro-when-SAS-start/m-p/525942#M143127</link>
      <description>&lt;P&gt;Everytime I run SAS, I have to run a set of Macros. Which is fine but quite inefficient if I do it everyday. Is there a way to ask SAS to run these macros and/or codes whenever SAS is started/run?&lt;/P&gt;&lt;P&gt;I think SASAUTOS does the trick but not sure how to use. Do I save my macros in a file? and then run the following line of code whenever SAS start?&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Options Sasautos=(’C:\SAS\macros\’);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Jan 2019 00:26:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Load-many-macro-when-SAS-start/m-p/525942#M143127</guid>
      <dc:creator>somebody</dc:creator>
      <dc:date>2019-01-10T00:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Load many macro when SAS start</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Load-many-macro-when-SAS-start/m-p/525946#M143130</link>
      <description>&lt;P&gt;Firstly save each macro you want to use as an auto call macro into a file with the same name as the macro and a .sas suffix. Then place the following two lines into your autoexec.sas file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Options mautosource;

Options Sasautos=(’C:\SAS\macros\’ SASAUTOS);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;That should do the trick for you&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 00:49:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Load-many-macro-when-SAS-start/m-p/525946#M143130</guid>
      <dc:creator>ChrisBrooks</dc:creator>
      <dc:date>2019-01-10T00:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Load many macro when SAS start</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Load-many-macro-when-SAS-start/m-p/525947#M143131</link>
      <description>&lt;P&gt;This SAS note explains AUTOCALL macro libraries pretty well:&amp;nbsp;&lt;A href="http://support.sas.com/kb/24/451.html" target="_blank"&gt;http://support.sas.com/kb/24/451.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can thoroughly recommend their use.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2019 00:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Load-many-macro-when-SAS-start/m-p/525947#M143131</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-01-10T00:53:25Z</dc:date>
    </item>
  </channel>
</rss>

