<?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: Reference unsaved code in process flow with %include in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reference-unsaved-code-in-process-flow-with-include/m-p/46548#M5253</link>
    <description>Hi:&lt;BR /&gt;
  In a Display Manager interactive session (also known as the SAS Windowing Environment), it is possible to "recall" and %INCLUDE previously submitted lines of code, as described in the documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000214504.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000214504.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
  However, since all EG code is submitted via "batch" or non-interactive mode on a server, I'm not sure whether this feature of %INCLUDE will work for you.&lt;BR /&gt;
&lt;BR /&gt;
  I do not believe you can %INCLUDE code that might be in the .EGP file. But the EG experts will have to chime in on this front.&lt;BR /&gt;
&lt;BR /&gt;
  I do know that I have successfully used %INCLUDE in an EG code node by referencing previously saved code (a previously saved .SAS file).&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Fri, 09 Jul 2010 20:52:34 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2010-07-09T20:52:34Z</dc:date>
    <item>
      <title>Reference unsaved code in process flow with %include</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reference-unsaved-code-in-process-flow-with-include/m-p/46547#M5252</link>
      <description>There's plenty of simple solutions to accomplish my task that I know of, so this is more of a theoretical question:&lt;BR /&gt;
&lt;BR /&gt;
- In my E/G projects, I typically only save the .egp, not the embedded .sas code&lt;BR /&gt;
- Ex:  My New.egp project has 3 code nodes: &lt;BR /&gt;
    - "code1.sas", "code2.sas", "code3.sas"&lt;BR /&gt;
  - Basically, I want to run just code3.sas, but have a %include("code1.sas") within it.  Is this possible without code1.sas being saved outside of the project?</description>
      <pubDate>Fri, 09 Jul 2010 17:52:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reference-unsaved-code-in-process-flow-with-include/m-p/46547#M5252</guid>
      <dc:creator>UDcc123</dc:creator>
      <dc:date>2010-07-09T17:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reference unsaved code in process flow with %include</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reference-unsaved-code-in-process-flow-with-include/m-p/46548#M5253</link>
      <description>Hi:&lt;BR /&gt;
  In a Display Manager interactive session (also known as the SAS Windowing Environment), it is possible to "recall" and %INCLUDE previously submitted lines of code, as described in the documentation:&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000214504.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrdict/63026/HTML/default/viewer.htm#/documentation/cdl/en/lrdict/63026/HTML/default/a000214504.htm&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
  However, since all EG code is submitted via "batch" or non-interactive mode on a server, I'm not sure whether this feature of %INCLUDE will work for you.&lt;BR /&gt;
&lt;BR /&gt;
  I do not believe you can %INCLUDE code that might be in the .EGP file. But the EG experts will have to chime in on this front.&lt;BR /&gt;
&lt;BR /&gt;
  I do know that I have successfully used %INCLUDE in an EG code node by referencing previously saved code (a previously saved .SAS file).&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 09 Jul 2010 20:52:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Reference-unsaved-code-in-process-flow-with-include/m-p/46548#M5253</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2010-07-09T20:52:34Z</dc:date>
    </item>
  </channel>
</rss>

