<?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: How to &amp;quot;store&amp;quot; a macro for use by others in Developers</title>
    <link>https://communities.sas.com/t5/Developers/How-to-quot-store-quot-a-macro-for-use-by-others/m-p/3962#M1867</link>
    <description>Thank you, Cynthia.... I'll check it out.</description>
    <pubDate>Thu, 26 Jul 2007 17:56:04 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2007-07-26T17:56:04Z</dc:date>
    <item>
      <title>How to "store" a macro for use by others</title>
      <link>https://communities.sas.com/t5/Developers/How-to-quot-store-quot-a-macro-for-use-by-others/m-p/3960#M1865</link>
      <description>Being part of a small team that uses Ent. Guide, Stored Processes and Web Report Studio, I am finding that I'm creating macros that replace repetitive code, such as parameter processing, date checking and the like.&lt;BR /&gt;
&lt;BR /&gt;
My question:  How and where can I store these macros, so that I can use them in different stored processes?  I currently have to copy and paste macro code, and would much prefer to be able to pull in a stored macro (or two or three...).&lt;BR /&gt;
&lt;BR /&gt;
Any help/advice is greatly appreciated.  Thanks!</description>
      <pubDate>Wed, 25 Jul 2007 16:06:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-quot-store-quot-a-macro-for-use-by-others/m-p/3960#M1865</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-07-25T16:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to "store" a macro for use by others</title>
      <link>https://communities.sas.com/t5/Developers/How-to-quot-store-quot-a-macro-for-use-by-others/m-p/3961#M1866</link>
      <description>You want to store your macro code in an "autocall" location. When you installed the BI Platform you defined an "application server context" -- in our examples, we call it SASMain. Under the SASMain directory where your metadata server (I think) is located, you should find a Lev1 subdirectory with a SASEnvironment subdirectory -- I don't remember the exact path -- you have to look in your Administration guide. Anyway, there's a place in the SASEnvironment subdirectory for your formats catalog, your autocall macros and any SAS code snippets that you are going to %include. (You might get this info more accurately, if you checked with Tech Support.)&lt;BR /&gt;
   &lt;BR /&gt;
(not on my work machine at the moment.)&lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 26 Jul 2007 16:45:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-quot-store-quot-a-macro-for-use-by-others/m-p/3961#M1866</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-07-26T16:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to "store" a macro for use by others</title>
      <link>https://communities.sas.com/t5/Developers/How-to-quot-store-quot-a-macro-for-use-by-others/m-p/3962#M1867</link>
      <description>Thank you, Cynthia.... I'll check it out.</description>
      <pubDate>Thu, 26 Jul 2007 17:56:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/How-to-quot-store-quot-a-macro-for-use-by-others/m-p/3962#M1867</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-07-26T17:56:04Z</dc:date>
    </item>
  </channel>
</rss>

