<?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: Starting EG automatically (via Win Scheduler) and supplying a project name in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360382#M23696</link>
    <description>&lt;P&gt;I am sorry, but you missed me there.&lt;/P&gt;
&lt;P&gt;I set EG up to start in the Scheduler in Win 7. I did not launch it via a VBS script, - that I know of. But perhaps the Scheduler creates a VBS anyway? Is that what you mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Poul&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2017 08:23:45 GMT</pubDate>
    <dc:creator>PoulRavn</dc:creator>
    <dc:date>2017-05-22T08:23:45Z</dc:date>
    <item>
      <title>Starting EG automatically (via Win Scheduler) and supplying a project name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360373#M23693</link>
      <description>&lt;P&gt;Hi, I've been trying to understand how to automatically start EG61 with a project as input parameter. I can get EG61 started OK, but how to supply the project file? I did not yet find any post/google hits on it. Help appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Poul R S&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 07:55:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360373#M23693</guid>
      <dc:creator>PoulRavn</dc:creator>
      <dc:date>2017-05-22T07:55:44Z</dc:date>
    </item>
    <item>
      <title>Re: Starting EG automatically (via Win Scheduler) and supplying a project name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360380#M23694</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you open the VBScript you will notice that there's a "prjName" variable with the path and the name of your project.&lt;/P&gt;
&lt;P&gt;So probably&amp;nbsp;you can use VBS arguments to the variable (just supposing&amp;nbsp;never tried&amp;nbsp;before)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Something like this:&lt;/P&gt;
&lt;PRE&gt;prjName = Wscript.Arguments(0)  'Project Name&lt;/PRE&gt;
&lt;P&gt;And then when you call you VBS you pass the parameter.&lt;/P&gt;
&lt;P&gt;Have a try &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Bruno Silva&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 08:18:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360380#M23694</guid>
      <dc:creator>BrunoSilva</dc:creator>
      <dc:date>2017-05-22T08:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Starting EG automatically (via Win Scheduler) and supplying a project name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360382#M23696</link>
      <description>&lt;P&gt;I am sorry, but you missed me there.&lt;/P&gt;
&lt;P&gt;I set EG up to start in the Scheduler in Win 7. I did not launch it via a VBS script, - that I know of. But perhaps the Scheduler creates a VBS anyway? Is that what you mean?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Poul&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 08:23:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360382#M23696</guid>
      <dc:creator>PoulRavn</dc:creator>
      <dc:date>2017-05-22T08:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Starting EG automatically (via Win Scheduler) and supplying a project name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360383#M23697</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you schedule&amp;nbsp;through the Enterprise Guide he creates a VBS file somewhere. I was referring&amp;nbsp;to change that VBS file but if you schedule&amp;nbsp;directly like this:&lt;/P&gt;
&lt;P&gt;.../../SASGuide.exe &amp;lt;projectfile.egp&amp;gt; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so maybe you can create a .sh or .bat file that accepts&amp;nbsp;parameters and then make the call.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Bruno Silva&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 08:30:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360383#M23697</guid>
      <dc:creator>BrunoSilva</dc:creator>
      <dc:date>2017-05-22T08:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Starting EG automatically (via Win Scheduler) and supplying a project name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360387#M23698</link>
      <description>&lt;P&gt;If that scheduling is more than just a pet project of yours, I strongly recommend creating a .sas code file from your project and schedule that on the SAS server directly, using your organization's standard scheduler. Desktops are not suited to do business-critical jobs.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 08:58:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360387#M23698</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-05-22T08:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Starting EG automatically (via Win Scheduler) and supplying a project name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360391#M23699</link>
      <description>It's kind of in between 'business critical' and pet. I want to update 2 dashboards, that show running data from production. I am updating them manually now, but want it to be automatic. &lt;BR /&gt;Kind regards Poul</description>
      <pubDate>Mon, 22 May 2017 09:08:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360391#M23699</guid>
      <dc:creator>PoulRavn</dc:creator>
      <dc:date>2017-05-22T09:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: Starting EG automatically (via Win Scheduler) and supplying a project name</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360401#M23700</link>
      <description>&lt;P&gt;If your SAS is located on a server, I'd still go for doing the scheduling there; every solution you solve along the way will be handy on the day when you have a real scheduling need.&lt;/P&gt;
&lt;P&gt;So I recommend saving your code to a single .sas file and run that in batch mode on the server.&lt;/P&gt;
&lt;P&gt;Only if you have a single-machine install of SAS on your desktop will scheduling a project via EG make any sense, IMO.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2017 10:35:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Starting-EG-automatically-via-Win-Scheduler-and-supplying-a/m-p/360401#M23700</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-05-22T10:35:42Z</dc:date>
    </item>
  </channel>
</rss>

