<?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: Execute Parallel Programs in SAS Enterprise Guide - Consolidate Results in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/305401#M20702</link>
    <description>&lt;P&gt;Ah! That was simple.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a seperate consolidated program, then "Linked" each of the programs to the consolidated program.&lt;/P&gt;&lt;P&gt;So, Link Program 1 to Consolidated, Link Program 2 to Consolidated, LInk Program 3 to consolidated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the project runs, the consolidated program only runs when all 3 are complete!&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 18 Oct 2016 14:44:55 GMT</pubDate>
    <dc:creator>Terho</dc:creator>
    <dc:date>2016-10-18T14:44:55Z</dc:date>
    <item>
      <title>Execute Parallel Programs in SAS Enterprise Guide - Consolidate Results</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/305393#M20700</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have 3 unlinked programs inside a SAS EG Project.&lt;/P&gt;&lt;P&gt;I have enabled "Parallel Execution on the Same Server" inside of Project Properties in SAS EG. When I run the project, all 3 programs execute in parallel and complete vith varying time - sometimes program 1 finishes first, sometimes program 2, sometimes program 3.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All three programs output to a report libname: report.data1, report.data2, report.data3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How&amp;nbsp;would I consolidate the results into a single dataset? I want to run this data step below, but only when all 3 programs have finished executing:&lt;/P&gt;&lt;P&gt;data report.combined;&lt;/P&gt;&lt;P&gt;set report.data1 report.data2 report.data3;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't link this datastep to the "longest" running program, because their execution times vary. I believe in Base SAS, I was able to use a "waitfor" command after rsubmit to different tasks. However, I cannot find anything equivalent in SAS EG.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My initial thought is to have a fourth program that "listens" in the report libname, and executes only when the 3 datasets have modified date &amp;gt; start time. Not too certain how this syntax would look though. Any help appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 14:27:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/305393#M20700</guid>
      <dc:creator>Terho</dc:creator>
      <dc:date>2016-10-18T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Parallel Programs in SAS Enterprise Guide - Consolidate Results</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/305395#M20701</link>
      <description>&lt;P&gt;I haven't done this for a while, but my recollection is that you can link Program1, Program2, and Program3 to your consolidation program, so it will wait unitl they're all done to run.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Give it a try,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Tom&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 14:35:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/305395#M20701</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2016-10-18T14:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Parallel Programs in SAS Enterprise Guide - Consolidate Results</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/305401#M20702</link>
      <description>&lt;P&gt;Ah! That was simple.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a seperate consolidated program, then "Linked" each of the programs to the consolidated program.&lt;/P&gt;&lt;P&gt;So, Link Program 1 to Consolidated, Link Program 2 to Consolidated, LInk Program 3 to consolidated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the project runs, the consolidated program only runs when all 3 are complete!&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 18 Oct 2016 14:44:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/305401#M20702</guid>
      <dc:creator>Terho</dc:creator>
      <dc:date>2016-10-18T14:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Parallel Programs in SAS Enterprise Guide - Consolidate Results</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/315956#M21295</link>
      <description>&lt;P&gt;Follow up question to Parallel Execution:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I noticed some unusual behavior when executing this parallel project when first loading the program.&lt;/P&gt;&lt;P&gt;The project does not&amp;nbsp;execute in a parallel on the first run (each program waiting&amp;nbsp;on the previous to finish):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG title="FirstRun.PNG" alt="FirstRun.PNG" src="https://communities.sas.com/t5/image/serverpage/image-id/6175i8861B4F56C18514B/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if I stop the project, and then run the project again, the project will execute in parallel:&lt;/P&gt;&lt;P&gt;&lt;IMG title="SecondRun.PNG" alt="SecondRun.PNG" src="https://communities.sas.com/t5/image/serverpage/image-id/6176i7D1EEE8B70DBFE98/image-size/original?v=v2&amp;amp;px=-1" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tips on why the first execution of the project does not happen in parallel, while the second and future runs do (until I close out of SAS EG)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 14:55:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/315956#M21295</guid>
      <dc:creator>Terho</dc:creator>
      <dc:date>2016-12-01T14:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Parallel Programs in SAS Enterprise Guide - Consolidate Results</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/315985#M21296</link>
      <description>&lt;P&gt;I suspect&amp;nbsp;you are running into a bug that was fixed in EG 7.11 HF5, where (when using the parallel execution feature)&amp;nbsp;items would incorrectly run synchronously if the workspace server was not already connected.&amp;nbsp; After you have connected to the workspace server, it properly runs in parallel (hence, why you only see the problem the first time).&amp;nbsp; So, you can workaround by first explicitly connecting to your workspace server (ex. expand it in the Servers view) prior to running the first time.&amp;nbsp; Or you can install 7.11 HF5 or later (7.12, 7.13), where the issue has been addressed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can download 7.11 HF5 from this link:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://ftp.sas.com/techsup/download/hotfix/HF2/U23.html" target="_blank"&gt;http://ftp.sas.com/techsup/download/hotfix/HF2/U23.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Or, alternatively,&amp;nbsp;you can upgrade via Help-&amp;gt;Check for Updates inside EG *if* your administrator/environment allows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Casey&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 15:53:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/315985#M21296</guid>
      <dc:creator>CaseySmith</dc:creator>
      <dc:date>2016-12-01T15:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Execute Parallel Programs in SAS Enterprise Guide - Consolidate Results</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/316028#M21298</link>
      <description>&lt;P&gt;Interesting.. Thank you for your reply CaseySmith.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If&amp;nbsp;I explicitly connect to the workplace server (by expanding my server view), then the project will run in parallel the first time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently on 7.11 HF2 (7.100.1.2785), so it seems like I am impacted by this bug. For now, I will be aware to explicitly connect to the server if I am running for the first time (or just never close my EG session&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://communities.sas.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The decision to upgrade to HF5 will have to be determined by our environment administrators unfortunately. Hopefully sometime soon!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2016 18:16:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-Parallel-Programs-in-SAS-Enterprise-Guide-Consolidate/m-p/316028#M21298</guid>
      <dc:creator>Terho</dc:creator>
      <dc:date>2016-12-01T18:16:48Z</dc:date>
    </item>
  </channel>
</rss>

