<?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 Scheduling programs to execute one after another in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Scheduling-programs-to-execute-one-after-another/m-p/53267#M14715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; What does your SAS environment look like (licenses, servers...?).&lt;/P&gt;&lt;P&gt;The scheduling options available to you within SAS is described in the documentation.&lt;/P&gt;&lt;P&gt;If this does not work for you, you'll need to look at 3rd party resources, maybe there is a scheduler available at your site?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/scheduleug/64110/HTML/default/viewer.htm#titlepage.htm"&gt;http://support.sas.com/documentation/cdl/en/scheduleug/64110/HTML/default/viewer.htm#titlepage.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Linus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2011 11:54:30 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2011-11-23T11:54:30Z</dc:date>
    <item>
      <title>Scheduling programs to execute one after another</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Scheduling-programs-to-execute-one-after-another/m-p/53266#M14714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there an option in SAS to schedule programs to run one after another? Please help, have about 30 programs to run but hate checking back whether one is finished before executing another and donot wanna do it through VBA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Akber&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 11:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Scheduling-programs-to-execute-one-after-another/m-p/53266#M14714</guid>
      <dc:creator>akberali67</dc:creator>
      <dc:date>2011-11-23T11:31:12Z</dc:date>
    </item>
    <item>
      <title>Scheduling programs to execute one after another</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Scheduling-programs-to-execute-one-after-another/m-p/53267#M14715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; What does your SAS environment look like (licenses, servers...?).&lt;/P&gt;&lt;P&gt;The scheduling options available to you within SAS is described in the documentation.&lt;/P&gt;&lt;P&gt;If this does not work for you, you'll need to look at 3rd party resources, maybe there is a scheduler available at your site?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/scheduleug/64110/HTML/default/viewer.htm#titlepage.htm"&gt;http://support.sas.com/documentation/cdl/en/scheduleug/64110/HTML/default/viewer.htm#titlepage.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Linus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 11:54:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Scheduling-programs-to-execute-one-after-another/m-p/53267#M14715</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2011-11-23T11:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling programs to execute one after another</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Scheduling-programs-to-execute-one-after-another/m-p/53268#M14716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can put all you programs in one sas file using %include. then just run the sas file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;%include&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt;"c:\temp\code1.sas"&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: blue; font-size: 10pt;"&gt;%include&lt;/SPAN&gt; &lt;SPAN style="background-color: white; font-family: 'Courier New'; color: purple; font-size: 10pt;"&gt;"c:\temp\code2.sas"&lt;/SPAN&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; font-family: 'Courier New'; color: black; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 13:48:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Scheduling-programs-to-execute-one-after-another/m-p/53268#M14716</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2011-11-23T13:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduling programs to execute one after another</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Scheduling-programs-to-execute-one-after-another/m-p/53269#M14717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: 5px; vertical-align: baseline; background-color: #ffffff; position: static !important; color: #454545; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 16px; text-align: -webkit-auto;"&gt;&lt;STRONG style="vertical-align: baseline; position: static !important;"&gt;SYSTASK&lt;/STRONG&gt; command along with &lt;STRONG style="vertical-align: baseline; position: static !important;"&gt;WAITFOR&lt;/STRONG&gt; command can be used to run a list of SAS programs within a program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 5px; vertical-align: baseline; background-color: #ffffff; position: static !important; color: #454545; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 16px; text-align: -webkit-auto;"&gt;For example, the following systask is used to run test.sas program.&lt;/P&gt;&lt;P style="margin-bottom: 5px; vertical-align: baseline; background-color: #ffffff; position: static !important; color: #454545; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 16px; text-align: -webkit-auto;"&gt;&lt;STRONG style="vertical-align: baseline; position: static !important;"&gt;systask command "sas.exe -sysin test.sas -nosplash -icon -log test.log" taskname=task1 status=stat1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 5px; vertical-align: baseline; background-color: #ffffff; position: static !important; color: #454545; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 16px; text-align: -webkit-auto;"&gt;&lt;STRONG style="vertical-align: baseline; position: static !important;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 5px; vertical-align: baseline; background-color: #ffffff; position: static !important; color: #454545; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 16px; text-align: -webkit-auto;"&gt;&lt;STRONG style="vertical-align: baseline; position: static !important;"&gt;waitfor task1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: 5px; vertical-align: baseline; background-color: #ffffff; position: static !important; color: #454545; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 16px; text-align: -webkit-auto;"&gt;The WAITFOR command can be used to sequence the jobs if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 5px; vertical-align: baseline; background-color: #ffffff; position: static !important; color: #454545; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 16px; text-align: -webkit-auto;"&gt;Hope this helps.&lt;/P&gt;&lt;P style="margin-bottom: 5px; vertical-align: baseline; background-color: #ffffff; position: static !important; color: #454545; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 16px; text-align: -webkit-auto;"&gt;Selva.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2011 14:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Scheduling-programs-to-execute-one-after-another/m-p/53269#M14717</guid>
      <dc:creator>sknguru</dc:creator>
      <dc:date>2011-11-23T14:34:11Z</dc:date>
    </item>
  </channel>
</rss>

