<?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: Autocall Library in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Autocall-Library/m-p/767872#M243496</link>
    <description>&lt;P&gt;I suggest a different solution than&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;, although if no one in your department is currently using an AUTOCALL library, it doesn't really matter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the command&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options append=(sasautos=MacLib);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For people using other AUTOCALL Libraries, the command given by Kurt Bremser disables the other AUTOCALL libraries that the people are using. The command above does not, it leaves those other AUTOCALL libraries available and adds the macros in MacLib into that person's AUTOCALL library, and this works fine for people in both categories (using AUTOCALL libraries and not using AUTOCALL libraries).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If at some time in the future, someone else wants to create their own AUTOCALL library, this approach works better.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Sep 2021 12:01:37 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-09-15T12:01:37Z</dc:date>
    <item>
      <title>Autocall Library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Autocall-Library/m-p/767686#M243427</link>
      <description>&lt;P&gt;So far I have used %include statements for my macros, so I wanted to experiment with Autocall libraries since this seems to be better.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have read the documentation but I still cannot figure out how to do it...&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What I have done:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename MacLib "MyDir";  /* Directory containing the macros */
options mautosource sasautos=MacLib;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;When trying to run my macro (lets say it is called MyMacro) it does not work? The log says:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;WARNING: Apparent invocation of macro MyMacro not resolved.&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;Why? Specific examples on how to set up autocall libraries would be appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 12:55:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Autocall-Library/m-p/767686#M243427</guid>
      <dc:creator>SasStatistics</dc:creator>
      <dc:date>2021-09-14T12:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Autocall Library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Autocall-Library/m-p/767689#M243428</link>
      <description>&lt;P&gt;The macro %mymacro has to be saved in a file called "mymacro.sas" in "MyDir". The file must contain one and only one macro definition for mymacro.&lt;/P&gt;
&lt;P&gt;You also need to avoid removing the original SASAUTOS library (see &lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/mcrolref/p12b2qq72dkxpsn1e19y57emerr6.htm" target="_blank" rel="noopener"&gt;here&lt;/A&gt;), so your OPTIONS statement should be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options mautosource sasautos=(sasautos,MacLib);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 14 Sep 2021 13:05:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Autocall-Library/m-p/767689#M243428</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-09-14T13:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Autocall Library</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Autocall-Library/m-p/767872#M243496</link>
      <description>&lt;P&gt;I suggest a different solution than&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/11562"&gt;@Kurt_Bremser&lt;/a&gt;&amp;nbsp;, although if no one in your department is currently using an AUTOCALL library, it doesn't really matter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use the command&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options append=(sasautos=MacLib);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For people using other AUTOCALL Libraries, the command given by Kurt Bremser disables the other AUTOCALL libraries that the people are using. The command above does not, it leaves those other AUTOCALL libraries available and adds the macros in MacLib into that person's AUTOCALL library, and this works fine for people in both categories (using AUTOCALL libraries and not using AUTOCALL libraries).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If at some time in the future, someone else wants to create their own AUTOCALL library, this approach works better.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Sep 2021 12:01:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Autocall-Library/m-p/767872#M243496</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-09-15T12:01:37Z</dc:date>
    </item>
  </channel>
</rss>

