<?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: Referencing program from another program in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Referencing-program-from-another-program/m-p/798326#M313845</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;Do you know how I can convert the .egp file to as .sas file? Or do I have to save all the different programs? If so how do I save a copy program as a .sas file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Huub&lt;/P&gt;</description>
    <pubDate>Thu, 24 Feb 2022 07:30:41 GMT</pubDate>
    <dc:creator>Huub</dc:creator>
    <dc:date>2022-02-24T07:30:41Z</dc:date>
    <item>
      <title>Referencing program from another program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Referencing-program-from-another-program/m-p/798051#M313780</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a SAS EG file with a process flow with multiple programs and copy programs (see screenshot). At the start of this process flow i have to define a macro variable which is then used throughout the rest of the flow. I am trying to create a loop so that I can insert a list of values for this macro variable where SAS will run an iteration of this flow with one of the values of this list as the macro variable. Is this possible? I have tried using an %include function to call this file from another file and execute it but it gives different errors each time i run in ( Open recursion and&amp;nbsp;ERROR: Maximum level of nesting of macro functions exceeded.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Screenshot of the processflow that i would like to loop&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Huub_0-1645630261422.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68772i9B1F91FC349D8D86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Huub_0-1645630261422.png" alt="Huub_0-1645630261422.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;screenshot of the program which runs the %include line + one of the errors.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Huub_1-1645630357746.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/68773iB3EA2FA8BC683036/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Huub_1-1645630357746.png" alt="Huub_1-1645630357746.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 15:34:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Referencing-program-from-another-program/m-p/798051#M313780</guid>
      <dc:creator>Huub</dc:creator>
      <dc:date>2022-02-23T15:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing program from another program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Referencing-program-from-another-program/m-p/798222#M313809</link>
      <description>&lt;P&gt;Your screenshot suggests you are trying to %include an EGP. %include only works for SAS program files which normally have an extension of SAS.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 19:46:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Referencing-program-from-another-program/m-p/798222#M313809</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-02-23T19:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing program from another program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Referencing-program-from-another-program/m-p/798326#M313845</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;Do you know how I can convert the .egp file to as .sas file? Or do I have to save all the different programs? If so how do I save a copy program as a .sas file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Huub&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 07:30:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Referencing-program-from-another-program/m-p/798326#M313845</guid>
      <dc:creator>Huub</dc:creator>
      <dc:date>2022-02-24T07:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing program from another program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Referencing-program-from-another-program/m-p/798343#M313853</link>
      <description>&lt;P&gt;You can export the whole process flow code to a single .sas file. File - Export - Export whole code. (EG 7.15)&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 08:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Referencing-program-from-another-program/m-p/798343#M313853</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-02-24T08:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing program from another program</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Referencing-program-from-another-program/m-p/798372#M313863</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I run SAS EG 8.3 but I don't see this option. Is there another way to do this?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 12:57:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Referencing-program-from-another-program/m-p/798372#M313863</guid>
      <dc:creator>Huub</dc:creator>
      <dc:date>2022-02-24T12:57:42Z</dc:date>
    </item>
  </channel>
</rss>

