<?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: Scheduling a Process Flow to run separately inside an EG Project in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/333720#M272156</link>
    <description>&lt;P&gt;Hi&amp;nbsp; &lt;SPAN class="login-bold"&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13832" target="_self"&gt;DanielSantos&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;This sounds like a solution but I won't get to check it out until next week.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Appreciate your response!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;I'll let you know how I go.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Feb 2017 09:49:23 GMT</pubDate>
    <dc:creator>OscarBoots1</dc:creator>
    <dc:date>2017-02-17T09:49:23Z</dc:date>
    <item>
      <title>Scheduling a Process Flow to run separately inside an EG Project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/333679#M272152</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the Windows task Scheduler to automate running my SAS EG Projects &amp;amp; it all works fine. (Vers 7.13).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I'm wondering if I get more specific &amp;amp; run a Process Flow I've created in the Project to run at a scheduled time?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How It works is that the Task Scheduler runs a Task at a specific time which runs a .vbs script which then runs the SAS EG Project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The .vbs file contains a the path to the SAS EG Project as follows;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sub dowork()
    On Error Resume Next
	
	'----
    ' Start up Enterprise Guide using the project name
    '----
    Dim prjName
    Dim prjObject

    prjName = "H:\Path_to_SAS_Project\Project_Name.egp"    'Project Name
      
    Set app = CreateObject("SASEGObjectModel.Application.7.1")
    If Checkerror("CreateObject") = True Then
        Exit Sub
    End If
    
    '-----
    ' open the project
    '-----
    Set prjObject = app.Open(prjName,"")
    If Checkerror("app.Open") = True Then
        Exit Sub
    End If&lt;/PRE&gt;&lt;P&gt;I'm thinking that the way (if it's possible) to do this is to add to the end part of the path such as;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"H:\Path_to_SAS_Project\Project_Name\Process_Flow_Name.egp"&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Project Name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone offer any assistance or guidance here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 05:07:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/333679#M272152</guid>
      <dc:creator>OscarBoots1</dc:creator>
      <dc:date>2017-02-17T05:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling a Process Flow to run separately inside an EG Project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/333694#M272153</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to check this option,"Export All Code in Process Flow or Project" then run that code. It has worked for me in past.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just make sure of the following.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The problem will most likely occur when one or more lines in the saved or exported program has data lines greater than 80 characters or program lines such as in PROC SQL that are greater than 255 characters.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 07:51:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/333694#M272153</guid>
      <dc:creator>ankit___gupta</dc:creator>
      <dc:date>2017-02-17T07:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling a Process Flow to run separately inside an EG Project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/333697#M272154</link>
      <description>&lt;P&gt;Thanks ankit_gupta,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not actually exporting any results, I just need to run 'a part' of the Project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your post though!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 08:30:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/333697#M272154</guid>
      <dc:creator>OscarBoots1</dc:creator>
      <dc:date>2017-02-17T08:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling a Process Flow to run separately inside an EG Project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/333712#M272155</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Flows are known as Containers in the Object Automation Model.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check the example&amp;nbsp;bellow on how to access those within the project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Enterprise-Guide/Automation-in-EG-using-VBScript/td-p/189324" target="_blank"&gt;https://communities.sas.com/t5/SAS-Enterprise-Guide/Automation-in-EG-using-VBScript/td-p/189324&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel Santos&amp;nbsp;@ &lt;A href="http://www.cgd.pt" target="_blank"&gt;www.cgd.pt&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 09:27:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/333712#M272155</guid>
      <dc:creator>DanielSantos</dc:creator>
      <dc:date>2017-02-17T09:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling a Process Flow to run separately inside an EG Project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/333720#M272156</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;SPAN class="login-bold"&gt;&lt;A href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13832" target="_self"&gt;DanielSantos&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;This sounds like a solution but I won't get to check it out until next week.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Appreciate your response!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;I'll let you know how I go.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="login-bold"&gt;Cheers&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2017 09:49:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/333720#M272156</guid>
      <dc:creator>OscarBoots1</dc:creator>
      <dc:date>2017-02-17T09:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling a Process Flow to run separately inside an EG Project</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/338339#M272157</link>
      <description>&lt;P&gt;Thanks Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting the actual code with the 'Container' part really made it easy for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2017 03:13:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Scheduling-a-Process-Flow-to-run-separately-inside-an-EG-Project/m-p/338339#M272157</guid>
      <dc:creator>OscarBoots1</dc:creator>
      <dc:date>2017-03-06T03:13:58Z</dc:date>
    </item>
  </channel>
</rss>

