<?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: Explanation for calling a macro program in another macro program in the same SAS enterprise proj in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Explanation-for-calling-a-macro-program-in-another-macro-program/m-p/897390#M43779</link>
    <description>&lt;P&gt;In in the Process Flow you link codes you can organise them in such way that "A" will be executed before "B".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do it by RMB click on a file and then select "Link to" option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then run that path to get "final object" (test dataset in this case). In future runs RMB click on that final icon and select "Run to selected item".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yabwon_1-1696510099232.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88636iA533A10890936758/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yabwon_1-1696510099232.png" alt="yabwon_1-1696510099232.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 12:50:10 GMT</pubDate>
    <dc:creator>yabwon</dc:creator>
    <dc:date>2023-10-05T12:50:10Z</dc:date>
    <item>
      <title>Explanation for calling a macro program in another macro program in the same SAS enterprise project</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Explanation-for-calling-a-macro-program-in-another-macro-program/m-p/897387#M43778</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TableSAS.PNG" style="width: 98px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88634i76DD829749217722/image-size/large?v=v2&amp;amp;px=999" role="button" title="TableSAS.PNG" alt="TableSAS.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a SAS project (.egp) containing several SAS programs (.sas) named: cal, Lau, pest.&lt;/P&gt;
&lt;P&gt;In Cal, I created a macro program and I want to call it to use in my Lau macro program. How to do ?&lt;/P&gt;
&lt;P&gt;Can someone explain to me please?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Gick&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 12:35:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Explanation-for-calling-a-macro-program-in-another-macro-program/m-p/897387#M43778</guid>
      <dc:creator>Gick</dc:creator>
      <dc:date>2023-10-05T12:35:48Z</dc:date>
    </item>
    <item>
      <title>Re: Explanation for calling a macro program in another macro program in the same SAS enterprise proj</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Explanation-for-calling-a-macro-program-in-another-macro-program/m-p/897390#M43779</link>
      <description>&lt;P&gt;In in the Process Flow you link codes you can organise them in such way that "A" will be executed before "B".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do it by RMB click on a file and then select "Link to" option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then run that path to get "final object" (test dataset in this case). In future runs RMB click on that final icon and select "Run to selected item".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yabwon_1-1696510099232.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/88636iA533A10890936758/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yabwon_1-1696510099232.png" alt="yabwon_1-1696510099232.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 12:50:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Explanation-for-calling-a-macro-program-in-another-macro-program/m-p/897390#M43779</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2023-10-05T12:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Explanation for calling a macro program in another macro program in the same SAS enterprise proj</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Explanation-for-calling-a-macro-program-in-another-macro-program/m-p/897391#M43780</link>
      <description>&lt;P&gt;What do you mean by "&lt;STRONG&gt;create&lt;/STRONG&gt; a macro program" ? Is&amp;nbsp;&lt;STRONG&gt;Cal&lt;/STRONG&gt; itself a macro&amp;nbsp; program, starting with&amp;nbsp;&lt;STRONG&gt;%macro&amp;nbsp;&lt;/STRONG&gt;&amp;lt;name&amp;gt;(...); and ending with&amp;nbsp;&lt;STRONG&gt;%mend&lt;/STRONG&gt; ? Or does it generate a macro program?&lt;/P&gt;
&lt;P&gt;In first case you can just&amp;nbsp;&lt;STRONG&gt;%include&lt;/STRONG&gt;&amp;nbsp;&amp;lt;path&amp;gt;/&lt;STRONG&gt;Cal&lt;/STRONG&gt;.sas at the top of any program you want to use&amp;nbsp;&lt;STRONG&gt;Cal&lt;/STRONG&gt; macro program. The mcaro will be compiled at submission and used when called.&lt;/P&gt;
&lt;P&gt;In second case you need to keep the generated macro progam as a &amp;lt;filename&amp;gt;.sas in a folder then use it as described above.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 12:57:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Explanation-for-calling-a-macro-program-in-another-macro-program/m-p/897391#M43780</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2023-10-05T12:57:20Z</dc:date>
    </item>
  </channel>
</rss>

