<?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: %Include an embedded program in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Include-an-embedded-program/m-p/161550#M12494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use both of them. If you have your to be embedded program somewhere on the OS you can define a link to that as code in the flow.&lt;/P&gt;&lt;P&gt;In a&amp;nbsp; code node you can include the file (%include) using the full physical name or you can define a filename ,and then user %include filerf(imbedsource) ;&lt;/P&gt;&lt;P&gt;Too many options is making a choice difficult.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An yes tos flow is running one program behind the other. You can define prompts to those and doing a split on conditions for a branche&amp;nbsp; in some value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Nov 2014 19:48:28 GMT</pubDate>
    <dc:creator>jakarman</dc:creator>
    <dc:date>2014-11-07T19:48:28Z</dc:date>
    <item>
      <title>%Include an embedded program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Include-an-embedded-program/m-p/161547#M12491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a very introductory level question that I am sure EG handles in a simple way, but how can I %include an embedded program in my workflow?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: Workflow has 2 programs, Program1.SAS and Program2.SAS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within Program1.SAS I want to %include "Program.SAS"; So basically while Program1 is running tell SAS to take a break, run Program2, then come back and finish Program1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 17:28:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Include-an-embedded-program/m-p/161547#M12491</guid>
      <dc:creator>mikemangini</dc:creator>
      <dc:date>2014-11-07T17:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: %Include an embedded program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Include-an-embedded-program/m-p/161548#M12492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a code node? That is not different as to coding in Base.&lt;/P&gt;&lt;P&gt;Would be better to build a flow between the nodes that flow is&amp;nbsp; controlling (embedding) the programs.&lt;/P&gt;&lt;P&gt;The idea is let it have those smaller pieces and than run them with all dependicies. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 19:31:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Include-an-embedded-program/m-p/161548#M12492</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-11-07T19:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: %Include an embedded program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Include-an-embedded-program/m-p/161549#M12493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response. Is the idea with dependencies though to have one program run before the other? How about calling a program from within a program? I could use the %include statement but then it makes me reference the file on the disk. I was hoping for a way to quickly call embedded programs. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 19:43:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Include-an-embedded-program/m-p/161549#M12493</guid>
      <dc:creator>mikemangini</dc:creator>
      <dc:date>2014-11-07T19:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: %Include an embedded program</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Include-an-embedded-program/m-p/161550#M12494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use both of them. If you have your to be embedded program somewhere on the OS you can define a link to that as code in the flow.&lt;/P&gt;&lt;P&gt;In a&amp;nbsp; code node you can include the file (%include) using the full physical name or you can define a filename ,and then user %include filerf(imbedsource) ;&lt;/P&gt;&lt;P&gt;Too many options is making a choice difficult.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An yes tos flow is running one program behind the other. You can define prompts to those and doing a split on conditions for a branche&amp;nbsp; in some value&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Nov 2014 19:48:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Include-an-embedded-program/m-p/161550#M12494</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-11-07T19:48:28Z</dc:date>
    </item>
  </channel>
</rss>

