<?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: Automatically execute sas code in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247491#M46427</link>
    <description>&lt;P&gt;BTW, you should take a look at your SAS install media. EG is usually included with Base SAS and works with a locally installed SAS without need for additional server processes (Metadata, Spawner).&lt;/P&gt;</description>
    <pubDate>Tue, 02 Feb 2016 15:21:43 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2016-02-02T15:21:43Z</dc:date>
    <item>
      <title>Automatically execute sas code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247470#M46419</link>
      <description>&lt;P&gt;I'm now using SAS9.2, and I want to get my sas code run automatically to do some rountine work, is there any possible way? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:31:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247470#M46419</guid>
      <dc:creator>Wang_Yajun</dc:creator>
      <dc:date>2016-02-02T14:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically execute sas code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247474#M46420</link>
      <description>&lt;P&gt;Mostly depends on your setup. If you have SAS on a server, that server will provide a scheduling tool.&lt;/P&gt;
&lt;P&gt;What you need is a script (batch, whatever your system wants) that runs SAS in batch mode with the supplied program.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Enterprise Guide already provides a method to create a job for a project so that the Windows scheduler can run it.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 14:41:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247474#M46420</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-02-02T14:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically execute sas code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247481#M46422</link>
      <description>&lt;P&gt;Hi,KurtBremser&lt;/P&gt;&lt;P&gt;Thanks for your reply. I don't have SAS EG on my personal PC. I have SAS 9.2 BASE installed in my PC, and my system is WIN7. I wonder if I can use base SAS code to get the SAS file run&amp;nbsp;automatically . If not, could you give a sample script that can get the job done? Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 15:05:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247481#M46422</guid>
      <dc:creator>Wang_Yajun</dc:creator>
      <dc:date>2016-02-02T15:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically execute sas code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247487#M46425</link>
      <description>&lt;P&gt;The handling of the Windows Task Planner is described here:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.digitalcitizen.life/how-create-task-basic-task-wizard" target="_self"&gt;http://www.digitalcitizen.life/how-create-task-basic-task-wizard&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would advise to create a batch file first that runs SAS with your program.&lt;/P&gt;
&lt;P&gt;It should contain a line with something like this:&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;"C:\Program Files\SAS\SASFoundation\9.2(32-bit)\sas.exe" -sysin insert_program_here.sas -log where_you_want_a_log.log&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Test this batch file from the cmd window first to see if it works, then use the Task Planner to create a scheduled event that runs the batch file.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 15:19:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247487#M46425</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-02-02T15:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically execute sas code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247491#M46427</link>
      <description>&lt;P&gt;BTW, you should take a look at your SAS install media. EG is usually included with Base SAS and works with a locally installed SAS without need for additional server processes (Metadata, Spawner).&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 15:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247491#M46427</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-02-02T15:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically execute sas code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247498#M46430</link>
      <description>&lt;P&gt;This is a guide for SAS 8/Win2K.&lt;/P&gt;
&lt;P&gt;I think it still applies, even if some windows/search paths may be different from your setup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/techsup/technote/ts648.pdf" target="_blank"&gt;http://support.sas.com/techsup/technote/ts648.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it isn't important stuff it should do, doesn't sound too reliable to execute&amp;nbsp;batch jobs on a client PC.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2016 15:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247498#M46430</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2016-02-02T15:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically execute sas code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247643#M46446</link>
      <description>&lt;P&gt;Hi, LinusH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply, I help me a lot.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 01:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247643#M46446</guid>
      <dc:creator>Wang_Yajun</dc:creator>
      <dc:date>2016-02-03T01:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically execute sas code</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247668#M46451</link>
      <description>&lt;P&gt;Linus,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;since his "client PC" also holds the core SAS software, I guess it is of a workstation type and is supposed to run round the clock. I also guess that scheduling in this context isn't so much a production thing and time-critical, but more of a personal helper.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 07:41:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Automatically-execute-sas-code/m-p/247668#M46451</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-02-03T07:41:14Z</dc:date>
    </item>
  </channel>
</rss>

