<?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: Is it possible to loop the whole Process Flow? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-loop-the-whole-Process-Flow/m-p/906482#M357940</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this an Enterprise Guide Process Flow??&lt;BR /&gt;If yes, I will move this topic to a more appropriate board:&lt;/P&gt;
&lt;P&gt;Home &amp;gt; Programming &amp;gt; Enterprise Guide&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it's matter of pure programming in SAS Studio or Display Manager, I can easily help you out, ... but this is about looping through an EG-process flow multiple times I am afraid. Meanwhile I have forgotten how to do that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Koen&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2023 15:51:47 GMT</pubDate>
    <dc:creator>sbxkoenk</dc:creator>
    <dc:date>2023-12-06T15:51:47Z</dc:date>
    <item>
      <title>Is it possible to loop the whole Process Flow?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-loop-the-whole-Process-Flow/m-p/906468#M357937</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I have Process Flow with more then 10 programs, and each program is between 400 to 500 rows of code.&lt;/P&gt;
&lt;P&gt;Today I need to give him date, run it and wait two hours to end. Repeat 5 or 6 times.&lt;/P&gt;
&lt;P&gt;I want to give him list of dates and run it at night to get al the results next morning.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The question - Can I loop the whole Process Flow without much programming effort and not to make changes to the programs code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 15:06:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-loop-the-whole-Process-Flow/m-p/906468#M357937</guid>
      <dc:creator>IgorR</dc:creator>
      <dc:date>2023-12-06T15:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to loop the whole Process Flow?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-loop-the-whole-Process-Flow/m-p/906482#M357940</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is this an Enterprise Guide Process Flow??&lt;BR /&gt;If yes, I will move this topic to a more appropriate board:&lt;/P&gt;
&lt;P&gt;Home &amp;gt; Programming &amp;gt; Enterprise Guide&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it's matter of pure programming in SAS Studio or Display Manager, I can easily help you out, ... but this is about looping through an EG-process flow multiple times I am afraid. Meanwhile I have forgotten how to do that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Koen&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2023 15:51:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-loop-the-whole-Process-Flow/m-p/906482#M357940</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-12-06T15:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to loop the whole Process Flow?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-loop-the-whole-Process-Flow/m-p/906653#M357996</link>
      <description>&lt;P&gt;I'm using SAS Enterprise Guide 8.3 .&lt;/P&gt;
&lt;P&gt;I have Process Flow that include many Programs that run one by one, after I defined global variables that all these programs use.&lt;/P&gt;
&lt;P&gt;I just want to save a lot of manual work here.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 06:15:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-loop-the-whole-Process-Flow/m-p/906653#M357996</guid>
      <dc:creator>IgorR</dc:creator>
      <dc:date>2023-12-07T06:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to loop the whole Process Flow?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-loop-the-whole-Process-Flow/m-p/906681#M358002</link>
      <description>&lt;P&gt;If you store your programs to an external location (on disk) then you could just write a single program with %include statements - and then of course you can wrap a macro loop around these %include statements for your dates. ...or you just generate the code with the %include statements once per date.&lt;/P&gt;
&lt;P&gt;To my knowledge EG itself doesn't provide such a loop mechanism and any approach I know of needs the code stored externally (showing as icon with the little arrow).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Patrick_0-1701943227136.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90941i19099E21DF7D2F2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Patrick_0-1701943227136.png" alt="Patrick_0-1701943227136.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And as an outlook for you: Under SAS Viya using SAS Studio Flow also such more operational requirements are fully supported.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 10:58:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-loop-the-whole-Process-Flow/m-p/906681#M358002</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2023-12-07T10:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to loop the whole Process Flow?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-loop-the-whole-Process-Flow/m-p/906685#M358004</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/446395"&gt;@IgorR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Code export can be done by:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="yabwon_0-1701945489100.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/90942iFA5260D622AECB53/image-size/medium?v=v2&amp;amp;px=400" role="button" title="yabwon_0-1701945489100.png" alt="yabwon_0-1701945489100.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if I were you I would go one step further. I would split the one huge exported file into separate macros, and then wrapped it up in a &lt;A title="https://github.com/yabwon/SAS_PACKAGES" href="https://github.com/yabwon/SAS_PACKAGES" target="_self"&gt;SAS Package&lt;/A&gt;, to have it:&lt;/P&gt;
&lt;P&gt;1) modular,&lt;/P&gt;
&lt;P&gt;2) to have it in single file,&lt;/P&gt;
&lt;P&gt;3) to be able call its content in any SAS interface (including DMS, Studio, or even "future to be" Workbench), not only EG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Detailed tutorial on how to develop and use SAS Packages is &lt;A title="https://github.com/yabwon/HoW-SASPackages" href="https://github.com/yabwon/HoW-SASPackages" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 10:41:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Is-it-possible-to-loop-the-whole-Process-Flow/m-p/906685#M358004</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2023-12-07T10:41:18Z</dc:date>
    </item>
  </channel>
</rss>

