<?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: Running Windows SAS 9.1 in batch mode in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288893#M59628</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;"D:\PROGRAM FILES\SAS\SAS 9.1\sas.exe" -SYSIN "C:\MyFolder\prog1.sas"
"D:\PROGRAM FILES\SAS\SAS 9.1\sas.exe" -SYSIN "C:\MyFolder\prog2.sas"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have updated your command and added sas.exe&lt;/P&gt;&lt;P&gt;1. Call of sas.exe is missing in your command.&lt;/P&gt;&lt;P&gt;2. Do double check if prog1.sas , prog2.sas exists.&lt;/P&gt;&lt;P&gt;3. If still, it do not exist then try keeping the program on the same drive where SAS installed.&lt;/P&gt;&lt;P&gt;4. If your program executes some environment variable are missing then you may have to call config file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;"D:\PROGRAM FILES\SAS\SAS 9.1\sas.exe" - config "D:\PROGRAM FILES\SAS\SAS 9.1\sasv9.cfg" -SYSIN "C:\MyFolder\prog1.sas"&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 02 Aug 2016 10:36:53 GMT</pubDate>
    <dc:creator>RahulG</dc:creator>
    <dc:date>2016-08-02T10:36:53Z</dc:date>
    <item>
      <title>Running Windows SAS 9.1 in batch mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288887#M59624</link>
      <description>&lt;P&gt;Hi, I'm using SAS 9.1 on Windows Server 2003 Standard Edition. I'm trying to run two programs in a batch mode. My .bat file contains exactly two rows:&lt;/P&gt;&lt;PRE&gt;Start "D:\PROGRAM FILES\SAS\SAS 9.1" -SYSIN "C:\MyFolder\prog1.sas"
Start "D:\PROGRAM FILES\SAS\SAS 9.1" -SYSIN "C:\MyFolder\prog2.sas"&lt;/PRE&gt;&lt;P&gt;After I double-click on the .bat file icon, the following message appears: "Windows cannot find 'SYSIN'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click Search".&lt;/P&gt;&lt;P&gt;How could this be fixed?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 10:10:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288887#M59624</guid>
      <dc:creator>ddonishchenko</dc:creator>
      <dc:date>2016-08-02T10:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: Running Windows SAS 9.1 in batch mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288893#M59628</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;"D:\PROGRAM FILES\SAS\SAS 9.1\sas.exe" -SYSIN "C:\MyFolder\prog1.sas"
"D:\PROGRAM FILES\SAS\SAS 9.1\sas.exe" -SYSIN "C:\MyFolder\prog2.sas"&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have updated your command and added sas.exe&lt;/P&gt;&lt;P&gt;1. Call of sas.exe is missing in your command.&lt;/P&gt;&lt;P&gt;2. Do double check if prog1.sas , prog2.sas exists.&lt;/P&gt;&lt;P&gt;3. If still, it do not exist then try keeping the program on the same drive where SAS installed.&lt;/P&gt;&lt;P&gt;4. If your program executes some environment variable are missing then you may have to call config file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;"D:\PROGRAM FILES\SAS\SAS 9.1\sas.exe" - config "D:\PROGRAM FILES\SAS\SAS 9.1\sasv9.cfg" -SYSIN "C:\MyFolder\prog1.sas"&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 02 Aug 2016 10:36:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288893#M59628</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2016-08-02T10:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Running Windows SAS 9.1 in batch mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288894#M59629</link>
      <description>&lt;P&gt;Try it without the "start". I don't think it's necessary at all. And you are specifiying a path to a directory instead of the executable.&lt;/P&gt;
&lt;P&gt;So I'd go with&lt;/P&gt;
&lt;PRE&gt; "D:\Program Files\SAS\SAS 9.1\sas.exe" -SYSIN "C:\MyFolder\prog1.sas"&lt;/PRE&gt;
&lt;P&gt;instead&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 10:38:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288894#M59629</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-08-02T10:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Running Windows SAS 9.1 in batch mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288895#M59630</link>
      <description>&lt;P&gt;And you're in serious need of upgrades. Windows Server 2003 is out of support since last year, and SAS 9.1 is in stage C support, IIRC. Which means the standard answer of SAS TS to any problem will contain "upgrade to 9.4".&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 10:43:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288895#M59630</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-08-02T10:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Running Windows SAS 9.1 in batch mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288897#M59631</link>
      <description>&lt;P&gt;Location&amp;nbsp;to save the programs in&amp;nbsp;is a required parameter, so I can't move the .sas file to the drive where SAS is installed. When I execute the code with your updates, I get a new message regarding "Kernel resource initialization failed" (please see attached).&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12812i42BD3F65BE30C50A/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="SAS Message Log.PNG" title="SAS Message Log.PNG" /&gt;</description>
      <pubDate>Tue, 02 Aug 2016 11:02:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288897#M59631</guid>
      <dc:creator>ddonishchenko</dc:creator>
      <dc:date>2016-08-02T11:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Running Windows SAS 9.1 in batch mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288898#M59632</link>
      <description>&lt;P&gt;Thanks a lot, Kurt! That's exactly what I needed. Regarding the upgrade -&amp;nbsp;I'm aware we need it, and we are working on it, of course.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 11:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Running-Windows-SAS-9-1-in-batch-mode/m-p/288898#M59632</guid>
      <dc:creator>ddonishchenko</dc:creator>
      <dc:date>2016-08-02T11:06:59Z</dc:date>
    </item>
  </channel>
</rss>

