<?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 Starting SAS in batch mode on windows in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8232#M256000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setting the option SASINITIALFOLDER fixed this. Would be nice if there was a document which brought together all the options on how to start SAS in the windows environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2011 08:09:15 GMT</pubDate>
    <dc:creator>BruceBrad</dc:creator>
    <dc:date>2011-09-16T08:09:15Z</dc:date>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8223#M255991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to run a sas program in batch mode and have the .log and .lst file saved in the same directory as the .sas file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the file associations seem to have been messed up on our Windows 2008 server (SAS 9.2 64bit). There is no 'Submit in batch mode' option and if I right click on the program test.sas and choose "Open with SAS 9.2 for Windows" I get the error message:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error: Insufficient authorization to access C:\Window\system32\test.log&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly, if I create a batch file with command &lt;STRONG&gt;"c:\program files\SAS\SASFoundation\9.2\sas.exe" %1 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and choose this, I get the same error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't have admin access to this server, but it seems to me that this should be possible by using an appropriate batch file. Any suggestions? (Incidentally, SAS works fine in interactive mode if I start it from the program menu). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 05:26:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8223#M255991</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2011-09-14T05:26:23Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8224#M255992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The following might be of help: &lt;A href="http://support.sas.com/kb/10/856.html"&gt;http://support.sas.com/kb/10/856.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 12:27:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8224#M255992</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-14T12:27:38Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8225#M255993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will probably need to work with your server administrator on this.&amp;nbsp; He has modified the working environment from the default delivered by SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error associated with "Open with SAS 9.2 for Windows" is because it is trying to open interactive SAS and direct the log to the system32 subdirectory.&amp;nbsp; In a lot of offices, the system32 subdirectory is read-only by Windows policy.&amp;nbsp; If so, the note that Art cites will not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A workaround that you might be able to do is to modify the right-click behavior on .sas files to mimic the conditions that are used in the SAS icon.&amp;nbsp; In windows explorer, go to tools --&amp;gt; folder options and go to the SAS file type.&amp;nbsp; You can create a new right-click option and the paste and modify the string from the interactive icon.&amp;nbsp; (This depends on how tightly controled your desktop is.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 13:34:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8225#M255993</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-09-14T13:34:45Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8226#M255994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can add the -log option to define a different location for the log output that is in a properly writable directory.&amp;nbsp; Also if executing in batch mode you should also use the -batch option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px;"&gt;c:\program files\SAS\SASFoundation\9.2\sas.exe -batch -log c:\mylog.log -sysin c:\mypgm.sas -print c:\mylst.lst -sysparm My Passed Paramameter&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 20:23:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8226#M255994</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-14T20:23:15Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8227#M255995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I knew about the solution proposed by FriedEgg, however it doesn't fully solve the problem. I want the log file to automatically have the same name as the submitted program (apart from the extension). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(The approach suggested by Doc@Duke doesn't work in Windows 7 or Server 2008 - the ability to configure file type associations has been removed from the user interface)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I presume there must be a way to create the log file name and location within a batch file using some scripting language, but surely there must be a way of asking SAS to do this (since that is what it normally does).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 23:15:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8227#M255995</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2011-09-14T23:15:20Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8228#M255996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually, I've discovered the scripting is not that hard. A batch file with the following single line seems to do the trick&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"c:\program files\SAS\SASFoundation\9.2\sas.exe" %1 -nologo -batch&amp;nbsp; -log "%~dpn1.log" -print "%~dpn1.lst"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 23:32:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8228#M255996</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2011-09-14T23:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8229#M255997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically this is the direction I was meaning for you to take my post.&amp;nbsp; Here is another example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote"&gt;&lt;P&gt;$cat example.bat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@echo off&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if NOT (%1)==() GOTO RUN&lt;/P&gt;&lt;P&gt;ECHO ----Batch Program Notes----&lt;/P&gt;&lt;P&gt;ECHO Required Parameters:&lt;/P&gt;&lt;P&gt;ECHO&amp;nbsp;&amp;nbsp; [program_fullpath]&lt;/P&gt;&lt;P&gt;ECHO ---------------------------------------&lt;/P&gt;&lt;P&gt;GOTO END&lt;/P&gt;&lt;P&gt;:RUN&lt;/P&gt;&lt;P&gt;for /F "tokens=2,3,4 delims=/ " %%i in ('date/t') do set d=%%k%%i%%j&lt;/P&gt;&lt;P&gt;for /F "tokens=1,2,3 delims=:. " %%i in ('time/t') do set t=%%k%%i%%j&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"C:\Program Files\SAS\SASFoundation\9.2\sas.exe" -batch -nologo -sysin "%1" -sysparm "%*" -log "%~dpn1_%d%_%t%.log" -print "%~dpn1_%d%_%t%.lst"&lt;/P&gt;&lt;P&gt;:END&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wow, it has been a long time since I have thought about windows bats.&amp;nbsp; I prefer *nix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 00:11:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8229#M255997</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-15T00:11:12Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8230#M255998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bruce,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On "(The approach suggested by Doc@Duke doesn't work in Windows 7 or Server 2008 - the ability to configure file type associations has been removed from the user interface)", that is still there in Win 7 (I don't use Winserver to check).&amp;nbsp; It appears that your windows network administration got a bit overzealous with the policy editor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 17:51:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8230#M255998</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-09-15T17:51:32Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8231#M255999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've now come across another problem. I start my SAS program with a batch file with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"c:\program files\SAS\SASFoundation\9.2\sas.exe" %1 -nologo -batch -ls 130 -config D:\SAS\SASV9.cFG -log "%~dpn1.log" -print "%~dpn1.lst"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The log file now has the error&lt;/P&gt;&lt;P&gt;NOTE: Writing&amp;nbsp; Body file: sashtml.htm&lt;/P&gt;&lt;P&gt;ERROR: Insufficient authorization to access C:\Windows\system32\sashtml.htm.&lt;/P&gt;&lt;P&gt;WARNING: No body file.&amp;nbsp; output will not be created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I start SAS interactively, it has the results being directed to the Work folder (which is located elsewhere). How do I control this in the batch job?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 07:36:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8231#M255999</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2011-09-16T07:36:38Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8232#M256000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setting the option SASINITIALFOLDER fixed this. Would be nice if there was a document which brought together all the options on how to start SAS in the windows environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 08:09:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8232#M256000</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2011-09-16T08:09:15Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8233#M256001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doc, do you mean under control panel/programs/default programs? You can do some things there, but not (it seems) control parameters associated with programs. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 08:10:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8233#M256001</guid>
      <dc:creator>BruceBrad</dc:creator>
      <dc:date>2011-09-16T08:10:38Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8234#M256002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, under tools --&amp;gt; folder options .&amp;nbsp; That's where you can add/modify the file associateions in windows.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 15:05:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8234#M256002</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-09-16T15:05:04Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8235#M256003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Bruce &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use a bat file to set pgm, log and output like this-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set sas=C:\Program Files\SAS\SAS 9.1\sas.exe&lt;/P&gt;&lt;P&gt;set src=C:\SAS\Source\&lt;/P&gt;&lt;P&gt;set log=C:\SAS\Log\&lt;/P&gt;&lt;P&gt;set prt=C:\SAS\Output\&lt;/P&gt;&lt;P&gt;"%sas%" "%src%testpgm.sas" -nosplash -print "%prt%" -log "%log%"&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That way they'll all be named the same as the program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2011 15:28:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8235#M256003</guid>
      <dc:creator>ChrisSelley</dc:creator>
      <dc:date>2011-10-07T15:28:44Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8236#M256004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BruceBrad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got the same error, when trying &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ods html image_dpi=600;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how you corrected this sashtml.htm error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 01:09:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8236#M256004</guid>
      <dc:creator>Arsenio_Staer</dc:creator>
      <dc:date>2011-10-08T01:09:09Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8237#M256005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The real problem is the directory that Windows is using as the current working directory when it starts SAS.&lt;/P&gt;&lt;P&gt;If you open a Command Window and move to the directory with your program in it and type the command:&lt;/P&gt;&lt;P&gt;&amp;gt; "c:\Program Files\SAS\SAS 9.2\sas" myprogram&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will run SAS 9.2 in batch using myprogram.sas as input and writing the log to myprogram.log and output to myprogram.lst.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 14:27:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8237#M256005</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2011-10-08T14:27:46Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8238#M256006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; the windows32 problem affects my programs if I use OPEN which invokes the SAS ole automation controller sasoact.exe&lt;/P&gt;&lt;P&gt;Invoking SAS in batch using sas.exe will use the folder in which the program is found, as the current folder for logs and for example, ODS outputs that use current folder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2011 15:02:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8238#M256006</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2011-10-11T15:02:49Z</dc:date>
    </item>
    <item>
      <title>Starting SAS in batch mode on windows</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8239#M256007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bruce, I experienced the same thing on Windows 7. The fix is quite simple: select any *.sas and right click then select open with. In the “open with” menu, select “The SAS System for Windows” instead of “SAS 9.2 for Windows”. Then we saw the *.sas icon changed from the SAS 9.2 grey-and-yellow downward triangle to the usual text-pad-black-person submit image. All the “Batch submit” options are now available when I right-click on a SAS file. “The SAS system for Windows” is a Windows application that integrate SAS options with Windows menu. Previously, I set “SAS 9.2 for Windows” as the default program to open *.sas files, and the right-click menu didn't have "batch submit".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2011 20:31:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-SAS-in-batch-mode-on-windows/m-p/8239#M256007</guid>
      <dc:creator>xz</dc:creator>
      <dc:date>2011-11-18T20:31:51Z</dc:date>
    </item>
  </channel>
</rss>

