<?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 Execute a Series of EG Projects in a Specific Order When Windows Scheduler is Broken in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682938#M36964</link>
    <description>&lt;P&gt;Is there any way this can be done? Sometimes our scheduler breaks which requires manual open and execution of each project (100+) one at a time which is very time consuming.&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: I cannot execute scripts on the server so it has to be done another way.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Sep 2020 14:17:54 GMT</pubDate>
    <dc:creator>Doug____</dc:creator>
    <dc:date>2020-09-10T14:17:54Z</dc:date>
    <item>
      <title>Execute a Series of EG Projects in a Specific Order When Windows Scheduler is Broken</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682938#M36964</link>
      <description>&lt;P&gt;Is there any way this can be done? Sometimes our scheduler breaks which requires manual open and execution of each project (100+) one at a time which is very time consuming.&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: I cannot execute scripts on the server so it has to be done another way.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 14:17:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682938#M36964</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2020-09-10T14:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a Series of EG Projects in a Specific Order When Windows Scheduler is Broken</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682949#M36965</link>
      <description>&lt;P&gt;First thing I would suggest is getting with your IT staff and determining why the Windows Scheduler "gets broken" and fix that. This could be a symptom of other, possibly worse, problems developing in the system.&lt;/P&gt;
&lt;P&gt;Or possibly invest in a different scheduler that doesn't break.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can't execute scripts then who can? Any non-manual system is likely going to require some script and permissions.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 14:46:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682949#M36965</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2020-09-10T14:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a Series of EG Projects in a Specific Order When Windows Scheduler is Broken</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682952#M36966</link>
      <description>&lt;P&gt;1. Why scheduler breaks - don't know why; outside my area of influence&lt;/P&gt;&lt;P&gt;2. Invest in another scheduler - have no control over this piece&lt;/P&gt;&lt;P&gt;3. Who can execute?&amp;nbsp; Likely someone in IT who is not a SAS user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need another way to do this that does not involve using VB scripts; e.g. running a series of projects from another project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 14:59:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682952#M36966</guid>
      <dc:creator>Doug____</dc:creator>
      <dc:date>2020-09-10T14:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a Series of EG Projects in a Specific Order When Windows Scheduler is Broken</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682983#M36968</link>
      <description>&lt;P&gt;Save your projects as .sas program files to the server and use the sasbatch script from the BatchServer subdirectory with server-side scheduling. Windows(!) desktop(!) scheduling is bound to cause problems sooner or later. With 100+ jobs, you enter the realm of professional IT, so you should act like it.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 16:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682983#M36968</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-09-10T16:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a Series of EG Projects in a Specific Order When Windows Scheduler is Broken</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682992#M36969</link>
      <description>&lt;P&gt;Are you allowed to run PowerShell scripts on your machine? Test using a simple Hello World script. See&amp;nbsp;&lt;A href="https://therenegadecoder.com/code/hello-world-in-powershell/" target="_blank"&gt;https://therenegadecoder.com/code/hello-world-in-powershell/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 16:32:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682992#M36969</guid>
      <dc:creator>AlanC</dc:creator>
      <dc:date>2020-09-10T16:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Execute a Series of EG Projects in a Specific Order When Windows Scheduler is Broken</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682993#M36970</link>
      <description>&lt;P&gt;If Windows Scheduler is unreliable, you can still use your own command-line to run the automation script on your own.&amp;nbsp; &amp;nbsp; That's the only way you can drive this execution from EG (when you cannot use batch SAS, as some have suggested).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This article shows &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Doing-More-with-SAS-Enterprise-Guide-Automation/ta-p/417832" target="_self"&gt;several things you can do with automation&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At its most simple, the scheduled task for an EG project kicks off a script command like this (for 32-bit EG):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;%windir%\SysWOW64\cscript.exe &amp;lt;path to script&amp;gt;\EGScript1.vbs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;64-bit EG is similar:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;%windir%\System32\cscript.exe &amp;lt;path to script&amp;gt;\EGScript1.vbs&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The script is generated by EG when you schedule a project, and it's set to launch EG and run the project (or a single flow).&amp;nbsp; But you can create more complex scripts that run multiple flows in succession, in the sequence that you want.&amp;nbsp; &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Doing-More-with-SAS-Enterprise-Guide-Automation/ta-p/417832" target="_self"&gt;See the examples in the article I referenced&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 16:36:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Execute-a-Series-of-EG-Projects-in-a-Specific-Order-When-Windows/m-p/682993#M36970</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2020-09-10T16:36:22Z</dc:date>
    </item>
  </channel>
</rss>

