<?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: Batch file to run program automatically in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865027#M341580</link>
    <description>&lt;PRE&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -nosplash -sysin "c:\temp\temp.sas" -log "c:\temp\temp#Y#m#d-#H-#M-#s.log" -logparm "rollover=auto" &lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;what is&amp;nbsp;&amp;nbsp;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe"&amp;nbsp; ?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Is it the path where SAS is located?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What is the meaning of&amp;nbsp;&amp;nbsp;-nosplash&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What is the meaning of&amp;nbsp;-sysin?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What is&amp;nbsp;"c:\temp\temp.sas"?&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Is it the path of SAS program that I want to run?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What is&amp;nbsp;-log "c:\temp\temp#Y#m#d-#H-#M-#s.log"&amp;nbsp; ?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;IS it the location of the log file that should be created once run the sas program?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What is&amp;nbsp;-logparm "rollover=auto" ?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Is it essential that the batch file (.bat) will be saved in same location of sas program file?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 18 Mar 2023 07:14:36 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2023-03-18T07:14:36Z</dc:date>
    <item>
      <title>Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864797#M341488</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I want to create a batch file (in notepad) which is a .bat file&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to use this batch file in order to run automatically a sas program every day.&lt;/P&gt;
&lt;P&gt;Let's say that the sas code that I want to run is a simple and short code:&lt;/P&gt;
&lt;P&gt;proc sql;&lt;/P&gt;
&lt;P&gt;create table as class&lt;/P&gt;
&lt;P&gt;select *&lt;/P&gt;
&lt;P&gt;From&amp;nbsp;sashelp.class&lt;/P&gt;
&lt;P&gt;;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question:&lt;/P&gt;
&lt;P&gt;What should I write in the batch file in order to run this program on SAS?&lt;/P&gt;
&lt;P&gt;Should I tell first to open SAS and then to run the code?&lt;/P&gt;
&lt;P&gt;Should I put the SAS code (that I wrote before) in the batch file?&lt;/P&gt;
&lt;P&gt;Please note that then I want to use Windows task scheduler with related to this batch file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 11:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864797#M341488</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-03-17T11:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864798#M341489</link>
      <description>&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sgf/2022/09/20/automating-sas-processes-using-windows-batch-files/" target="_blank"&gt;Automating SAS processes using Windows batch files - SAS Users&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 11:41:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864798#M341489</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-03-17T11:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864803#M341491</link>
      <description>Thank you fot the link but I still dont know what to write in the batch file for my simple task</description>
      <pubDate>Fri, 17 Mar 2023 11:48:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864803#M341491</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-03-17T11:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864804#M341492</link>
      <description>&lt;P&gt;Here is the content you should write in BAT file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -nosplash -sysin "c:\temp\temp.sas" -log "c:\temp\temp#Y#m#d-#H-#M-#s.log" -logparm "rollover=auto" 
&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Mar 2023 11:56:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864804#M341492</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-03-17T11:56:40Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864806#M341493</link>
      <description>&lt;P&gt;You save your code as a text file with extension .sas.&lt;/P&gt;
&lt;P&gt;How you run this in batch depends on your SAS environment. If client/server, run it with the sasbatch script provided in the BatchServer directory of the configuration tree.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 12:04:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864806#M341493</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-03-17T12:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864807#M341494</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;As I see you didnt write the SAS code into the bat file.&lt;/P&gt;
&lt;P&gt;Did you write the path where the sas program is located?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 12:06:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864807#M341494</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-03-17T12:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864808#M341495</link>
      <description>Yes. You didn't need to "write the SAS code into the bat file", just use BAT file to invoke that SAS problem .You could run it under command line or other ways as Kurt said .</description>
      <pubDate>Fri, 17 Mar 2023 12:11:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864808#M341495</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-03-17T12:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864810#M341497</link>
      <description>&lt;P&gt;You mean that I need to save my SAS program ?&lt;/P&gt;
&lt;P&gt;As I know SAS program is alway end with .SAS end.&lt;/P&gt;
&lt;P&gt;The question is what to write in the bat file (in notepad) in order to run this program?&lt;/P&gt;
&lt;P&gt;Then I want to create windows scheuler to run it every day auatomatically&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 12:14:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864810#M341497</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-03-17T12:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864811#M341498</link>
      <description>&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;In the code you sent me ti write in the batch file (bat file).&lt;/P&gt;
&lt;P&gt;Where is the directory of the sas program that I want to run ?&lt;/P&gt;
&lt;PRE&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -nosplash -sysin "c:\temp\temp.sas" -log "c:\temp\temp#Y#m#d-#H-#M-#s.log" -logparm "rollover=auto" &lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 12:20:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864811#M341498</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-03-17T12:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864813#M341500</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;You mean that I need to save my SAS program ?&lt;/P&gt;
&lt;P&gt;As I know SAS program is alway end with .SAS end.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;No. A .sas file ends where it ends, without a special command. .SAS end would cause a syntax ERROR.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;The question is what to write in the bat file (in notepad) in order to run this program?&lt;/P&gt;
&lt;P&gt;Then I want to create windows scheuler to run it every day auatomatically&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The script (or batch) file needs a line like&lt;/P&gt;
&lt;PRE&gt;&amp;lt;path to your SAS executable or batch script&amp;gt; &amp;lt;fully qualified path to program&amp;gt;.sas -log &amp;lt;fully qualified filename of log&amp;gt;.log&lt;/PRE&gt;
&lt;P&gt;Add more options as needed. Read the documentation for running SAS in batch mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which command to use for starting SAS depends on your SAS setup, so we MUST KNOW THAT!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 12:23:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864813#M341500</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-03-17T12:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864815#M341502</link>
      <description>&lt;P&gt;In the example given, the path following -sysin is the program name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;In the code you sent me ti write in the batch file (bat file).&lt;/P&gt;
&lt;P&gt;Where is the directory of the sas program that I want to run ?&lt;/P&gt;
&lt;PRE&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -nosplash -sysin "c:\temp\temp.sas" -log "c:\temp\temp#Y#m#d-#H-#M-#s.log" -logparm "rollover=auto" &lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 12:25:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/864815#M341502</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-03-17T12:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865024#M341577</link>
      <description>So only this part need to be modified (by the program path name )?&lt;BR /&gt;"c:\temp\temp.sas"&lt;BR /&gt;&lt;BR /&gt;All other parts in the code are fixed?</description>
      <pubDate>Sat, 18 Mar 2023 06:27:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865024#M341577</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-03-18T06:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865025#M341578</link>
      <description>Can you please list the questions that I need to ask the admin (Or find by myself)&lt;BR /&gt;in order to run sas in batch mode?&lt;BR /&gt;As far as I understand I need:&lt;BR /&gt;1-path of sas program that I want to run in the batch mode&lt;BR /&gt;2-SAS setup&lt;BR /&gt;Anything else?&lt;BR /&gt;</description>
      <pubDate>Sat, 18 Mar 2023 06:30:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865025#M341578</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-03-18T06:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865026#M341579</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;So only this part need to be modified (by the program path name )?&lt;BR /&gt;"c:\temp\temp.sas"&lt;BR /&gt;&lt;BR /&gt;All other parts in the code are fixed?&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;If your SAS runs on Windows, and is installed in the default path. If your SAS server is using UNIX, the path names will be very different.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 07:12:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865026#M341579</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-03-18T07:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865027#M341580</link>
      <description>&lt;PRE&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -nosplash -sysin "c:\temp\temp.sas" -log "c:\temp\temp#Y#m#d-#H-#M-#s.log" -logparm "rollover=auto" &lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;what is&amp;nbsp;&amp;nbsp;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe"&amp;nbsp; ?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Is it the path where SAS is located?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What is the meaning of&amp;nbsp;&amp;nbsp;-nosplash&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What is the meaning of&amp;nbsp;-sysin?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What is&amp;nbsp;"c:\temp\temp.sas"?&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Is it the path of SAS program that I want to run?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What is&amp;nbsp;-log "c:\temp\temp#Y#m#d-#H-#M-#s.log"&amp;nbsp; ?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;IS it the location of the log file that should be created once run the sas program?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;What is&amp;nbsp;-logparm "rollover=auto" ?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Is it essential that the batch file (.bat) will be saved in same location of sas program file?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 07:14:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865027#M341580</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-03-18T07:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865028#M341581</link>
      <description>&lt;P&gt;SAS setup needs to include&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;client/server or local&lt;/LI&gt;
&lt;LI&gt;if c/s, type of server operating system&lt;/LI&gt;
&lt;LI&gt;path names to the SAS executable or sasbatch script (with a server, sasbatch script is preferred, as it sets up the same environment you have in Enterprise Guide or SAS Studio)&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Sat, 18 Mar 2023 07:17:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865028#M341581</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-03-18T07:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865029#M341582</link>
      <description>&lt;P&gt;Any SAS program&amp;nbsp; end with&amp;nbsp;&lt;SPAN&gt;.sas &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So I just need to save my sas program normally as I always do?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 07:28:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865029#M341582</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-03-18T07:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865031#M341584</link>
      <description>&lt;P&gt;You wrote "path names to the SAS executable or sasbatch script (with a server, sasbatch script is preferred, as it sets up the same environment you have in Enterprise Guide or SAS Studio)"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you wrote "SAS executable"&amp;nbsp; ,do you mean "SAS program"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I understand the batch script (extension .bat) is not a SAS file .&lt;/P&gt;
&lt;P&gt;You wrote "sasbatch script "- why?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 07:34:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865031#M341584</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2023-03-18T07:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865032#M341585</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159549"&gt;@Ronein&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Any SAS program&amp;nbsp; end with&amp;nbsp;&lt;SPAN&gt;.sas &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So I just need to save my sas program normally as I always do?&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes. The big question is&amp;nbsp;&lt;EM&gt;where&lt;/EM&gt; to save it so your SAS executable can find it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 07:37:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865032#M341585</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-03-18T07:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to run program automatically</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865034#M341587</link>
      <description>&lt;P&gt;"SAS executable" is the SAS system itself, which can then be used to run your SAS program. sasbatch.sh (or sasbatch.bat) is a script file provided in a server environment, which sets up your server context (e.g. SASApp) in batch like you have it interactively. The script ulimately calls the SAS executable with parameters and environment variables correctly set.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 08:02:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Batch-file-to-run-program-automatically/m-p/865034#M341587</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-03-18T08:02:52Z</dc:date>
    </item>
  </channel>
</rss>

