<?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: What is the best way to transport macros across projects in SAS Enterprise Guide? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636289#M189014</link>
    <description>&lt;P&gt;That is a good question and hope some EG developers ( &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt; ) .&lt;/P&gt;
&lt;P&gt;Traditionally with SAS project code we would create a macro library and maintain the code there and use SASAUTOS to have SAS automatically find and compile any macros that a specific program calls.&amp;nbsp; I have not seen a good method of building such a system for EG files ("projects").&amp;nbsp; To me the EG files feel more like Excel spreadsheets.&amp;nbsp; A nice way to build something but not something that has a pathway to a real production environment.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Mar 2020 16:31:23 GMT</pubDate>
    <dc:creator>Tom</dc:creator>
    <dc:date>2020-03-31T16:31:23Z</dc:date>
    <item>
      <title>What is the best way to transport macros across projects in SAS Enterprise Guide?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636273#M189009</link>
      <description>&lt;P&gt;What is the best way to transport a macro across projects in SAS Enterprise Guide?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know you can write an %include statement, but this seems to require saving a files as .sas instead of .egp.&amp;nbsp; I was wondering if there was a more efficient way to do this in SAS EG?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 15:56:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636273#M189009</guid>
      <dc:creator>whs278</dc:creator>
      <dc:date>2020-03-31T15:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to transport macros across projects in SAS Enterprise Guide?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636279#M189010</link>
      <description>&lt;P&gt;THE PROPER WAY OF STORING SAS CODE IS AS TEXT IN .sas FILES.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Write this a hundred times, or until you have internalized it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I mean it, from 20+ years of SAS experience and 40 years in IT.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 16:15:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636279#M189010</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-03-31T16:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to transport macros across projects in SAS Enterprise Guide?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636287#M189012</link>
      <description>&lt;P&gt;&lt;EM&gt;"&lt;/EM&gt;&lt;SPAN&gt;&lt;EM&gt;I mean it, from 20+ years of SAS experience and 40 years in IT.&lt;/EM&gt;"- Kudos! and my sincere salutations. I guess that's right up there among the likes of&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13711"&gt;@art297&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp; Well done!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 16:26:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636287#M189012</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-03-31T16:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to transport macros across projects in SAS Enterprise Guide?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636289#M189014</link>
      <description>&lt;P&gt;That is a good question and hope some EG developers ( &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt; ) .&lt;/P&gt;
&lt;P&gt;Traditionally with SAS project code we would create a macro library and maintain the code there and use SASAUTOS to have SAS automatically find and compile any macros that a specific program calls.&amp;nbsp; I have not seen a good method of building such a system for EG files ("projects").&amp;nbsp; To me the EG files feel more like Excel spreadsheets.&amp;nbsp; A nice way to build something but not something that has a pathway to a real production environment.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 16:31:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636289#M189014</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-03-31T16:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to transport macros across projects in SAS Enterprise Guide?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636291#M189016</link>
      <description>&lt;P&gt;Assuming these macros are all general and you don't change them through projects I recommend setting up a macro library.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that I will also store all the macro's in a single utility folder as .sas files. .egp files are propietary and can have issues over time. .sas files are text files. But for day to day usage of common macros, a macro library is a good idea. And make sure to use the SOURCE option on your macros so you can retrieve the code if you ever lose track of your .sas programs.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings/pdfs/sgf2008/101-2008.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings/pdfs/sgf2008/101-2008.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.listendata.com/2016/04/building-sas-macro-library.html" target="_blank"&gt;https://www.listendata.com/2016/04/building-sas-macro-library.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://pauldickman.com/sastips/autocall/" target="_blank"&gt;https://pauldickman.com/sastips/autocall/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/279633"&gt;@whs278&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;What is the best way to transport a macro across projects in SAS Enterprise Guide?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know you can write an %include statement, but this seems to require saving a files as .sas instead of .egp.&amp;nbsp; I was wondering if there was a more efficient way to do this in SAS EG?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bill&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 16:34:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636291#M189016</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-03-31T16:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to transport macros across projects in SAS Enterprise Guide?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636301#M189022</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/279633"&gt;@whs278&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Consider building a SAS package. Check out:&amp;nbsp;&lt;A href="https://github.com/yabwon/SAS_PACKAGES" target="_blank"&gt;https://github.com/yabwon/SAS_PACKAGES&lt;/A&gt;&amp;nbsp;there is a pdf article from SGF2020 describing the process.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best&lt;/P&gt;
&lt;P&gt;Bart&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 17:18:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636301#M189022</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2020-03-31T17:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to transport macros across projects in SAS Enterprise Guide?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636302#M189023</link>
      <description>&lt;P&gt;Thank you for sharing&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/35763"&gt;@yabwon&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Mar 2020 17:20:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636302#M189023</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-03-31T17:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: What is the best way to transport macros across projects in SAS Enterprise Guide?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636305#M189024</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/138205"&gt;@novinosrin&lt;/a&gt; - enjoy! &lt;BR /&gt;Read it, try it, build a package! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Bart</description>
      <pubDate>Tue, 31 Mar 2020 17:28:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/What-is-the-best-way-to-transport-macros-across-projects-in-SAS/m-p/636305#M189024</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2020-03-31T17:28:55Z</dc:date>
    </item>
  </channel>
</rss>

