<?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 How to trigger multiple programs at same time? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72724#M21084</link>
    <description>Would like to know if its possible to trigger multiple sas scripts at the same time with out using rsubmit?&lt;BR /&gt;
&lt;BR /&gt;
if so how can we do it?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
activa</description>
    <pubDate>Thu, 16 Sep 2010 14:17:42 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-09-16T14:17:42Z</dc:date>
    <item>
      <title>How to trigger multiple programs at same time?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72724#M21084</link>
      <description>Would like to know if its possible to trigger multiple sas scripts at the same time with out using rsubmit?&lt;BR /&gt;
&lt;BR /&gt;
if so how can we do it?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
activa</description>
      <pubDate>Thu, 16 Sep 2010 14:17:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72724#M21084</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-16T14:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger multiple programs at same time?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72725#M21085</link>
      <description>have a look at &lt;BR /&gt;
x cmd with nowait.&lt;BR /&gt;
&lt;BR /&gt;
Cheers&lt;BR /&gt;
&lt;BR /&gt;
Barry</description>
      <pubDate>Thu, 16 Sep 2010 23:19:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72725#M21085</guid>
      <dc:creator>twocanbazza</dc:creator>
      <dc:date>2010-09-16T23:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger multiple programs at same time?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72726#M21086</link>
      <description>First you need to establish multiple SAS server sessions, then do asynchronous RSUBMITs using WAIT=NO:&lt;BR /&gt;
&lt;BR /&gt;
signon session1;&lt;BR /&gt;
&lt;BR /&gt;
signon session2;&lt;BR /&gt;
&lt;BR /&gt;
rsubmit session1 wait=no;&lt;BR /&gt;
sas code here....&lt;BR /&gt;
endrsubmit;&lt;BR /&gt;
&lt;BR /&gt;
rsubmit session2 wait=no;&lt;BR /&gt;
sas code here....&lt;BR /&gt;
endrsubmit;&lt;BR /&gt;
&lt;BR /&gt;
If you then want your parent session to wait for both session1 and session2 to finish then use:&lt;BR /&gt;
&lt;BR /&gt;
waitfor _all_ session1 session2;</description>
      <pubDate>Thu, 16 Sep 2010 23:37:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72726#M21086</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2010-09-16T23:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger multiple programs at same time?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72727#M21087</link>
      <description>I too read " with out using rsubmit" as  "with using rsubmit" at first glance... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Mon, 20 Sep 2010 02:09:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72727#M21087</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2010-09-20T02:09:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger multiple programs at same time?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72728#M21088</link>
      <description>Maybe I should read more carefully! BTW the RSUBMIT approach is so much more flexible and easier to manage I would only use alternatives if I didn't have SAS/CONNECT.</description>
      <pubDate>Mon, 20 Sep 2010 04:50:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72728#M21088</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2010-09-20T04:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger multiple programs at same time?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72729#M21089</link>
      <description>you can try submitting also some programs in EG, others in batch mode</description>
      <pubDate>Mon, 20 Sep 2010 07:57:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72729#M21089</guid>
      <dc:creator>ieva</dc:creator>
      <dc:date>2010-09-20T07:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to trigger multiple programs at same time?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72730#M21090</link>
      <description>how about a scheduler?&lt;BR /&gt;
 &lt;BR /&gt;
What makes the decision to launch those SAS processes?&lt;BR /&gt;
A long time ago (forget galaxy ...) I wrote a routine that would launch SAS programs based on a trigger = "that a file exists". &lt;BR /&gt;
 &lt;BR /&gt;
My routine was a SAS task that watched and tested for the trigger file with fileexist( 'trigger file name') which is FALSE (0) until that file exists. Once TRUE, it used the X-statement to launch the SAS programs because they were to run independantly. Another trigger was needed to stop the "watching" task. That watcher process could have been set up as a windows service.&lt;BR /&gt;
 &lt;BR /&gt;
I think a proper scheduler should be able to do that in a much more supportable way &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;
 &lt;BR /&gt;
peterC</description>
      <pubDate>Mon, 20 Sep 2010 11:42:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-to-trigger-multiple-programs-at-same-time/m-p/72730#M21090</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2010-09-20T11:42:55Z</dc:date>
    </item>
  </channel>
</rss>

