<?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: Directing Batch Mode in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612926#M178936</link>
    <description>I tried that, but every path, folder, and called filename has spaces between the words.  I spent 1/2 hour trying to rename everything and it still did not work because within the program's called programs are path and filenames with spaces.  Ughh.  Why can't SAS get over spaces in filename?  Too much work to rename everything.</description>
    <pubDate>Thu, 19 Dec 2019 05:14:34 GMT</pubDate>
    <dc:creator>texasmfp</dc:creator>
    <dc:date>2019-12-19T05:14:34Z</dc:date>
    <item>
      <title>Directing Batch Mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612579#M178785</link>
      <description>&lt;P&gt;I have two versions of SAS, each located on different drives.&amp;nbsp; When I submit a program in batch mode, it executes using the SAS installed on the C drive. I submit it by right-clicking on the prog in a Explorer window and selecting Batch Submit with SAS 9.4.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want the submitted job to run using the SAS installed on my E drive, because it runs much faster.&amp;nbsp; There is no such option when right-clicking.&amp;nbsp; Is there another way to submit it so that I can direct it to use the SAS installed on the E Drive?&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 06:31:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612579#M178785</guid>
      <dc:creator>texasmfp</dc:creator>
      <dc:date>2019-12-18T06:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: Directing Batch Mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612583#M178787</link>
      <description>&lt;P&gt;Just use a command line to run the right executable: E:\MySASInstallFolder\sas.exe.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2019 07:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612583#M178787</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-12-18T07:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Directing Batch Mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612591#M178791</link>
      <description>Is there a system environment variable pointing it to the SAS installed in C drive? If yes, you can change that to point it to E drive.</description>
      <pubDate>Wed, 18 Dec 2019 08:39:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612591#M178791</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2019-12-18T08:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: Directing Batch Mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612899#M178927</link>
      <description>thanks SASKiwi.  after the sas.exe command, what is the syntax to call the specific program? and, can I call multiple programs after the sas.exe or do I need to repeat that for each program I call?  Thanks</description>
      <pubDate>Thu, 19 Dec 2019 02:29:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612899#M178927</guid>
      <dc:creator>texasmfp</dc:creator>
      <dc:date>2019-12-19T02:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Directing Batch Mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612900#M178928</link>
      <description>If there is, I haven't the foggiest idea of where that is.  Do you?  (Windows 10 64-bit)</description>
      <pubDate>Thu, 19 Dec 2019 02:30:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612900#M178928</guid>
      <dc:creator>texasmfp</dc:creator>
      <dc:date>2019-12-19T02:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Directing Batch Mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612909#M178931</link>
      <description>&lt;P&gt;Two ways to check your PATH environment variable in windows.&lt;BR /&gt;&lt;BR /&gt;1 -&amp;gt; Open CMD and enter the command 'path' and hit enter. It will show you if there is an entry for SAS executable there.&lt;BR /&gt;&lt;BR /&gt;2-&amp;gt; Right click on MyComputer and click properties. Under system click on advanced system settings which should open a window 'system properties'. In there, should be an option 'Environmental Variables'. Click on that which will open another window, In which navigate to system variables box, Where you can find 'path'. It will list the current path variables set which can be modified to point to your SAS installation of E drive.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 04:19:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612909#M178931</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2019-12-19T04:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Directing Batch Mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612911#M178932</link>
      <description>I think you can use the below syntax:&lt;BR /&gt;&lt;BR /&gt;....\sas.exe -sysin \..\..\&amp;lt;path-to-your-program.sas&amp;gt;</description>
      <pubDate>Thu, 19 Dec 2019 04:21:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612911#M178932</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2019-12-19T04:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: Directing Batch Mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612916#M178935</link>
      <description>Anand.  Thanks, the Command: path does show that SAS is linked to the C drive.  However, when I went to the Environmental variables, there was nothing about SAS.  So I added it: first to the system variables and then to the user variables; restarting after each change.  Path still shows C:.  Any other places I should check?  Thanks</description>
      <pubDate>Thu, 19 Dec 2019 04:52:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612916#M178935</guid>
      <dc:creator>texasmfp</dc:creator>
      <dc:date>2019-12-19T04:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Directing Batch Mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612926#M178936</link>
      <description>I tried that, but every path, folder, and called filename has spaces between the words.  I spent 1/2 hour trying to rename everything and it still did not work because within the program's called programs are path and filenames with spaces.  Ughh.  Why can't SAS get over spaces in filename?  Too much work to rename everything.</description>
      <pubDate>Thu, 19 Dec 2019 05:14:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612926#M178936</guid>
      <dc:creator>texasmfp</dc:creator>
      <dc:date>2019-12-19T05:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Directing Batch Mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612929#M178938</link>
      <description>Can you go back to the environmental variables window and under that select the 'path' variable under System variables and click on Edit..&lt;BR /&gt;It should list you all the paths set on your machine.&lt;BR /&gt;&lt;BR /&gt;Check for something like C:\...\SASFoundation\9.4 and Edit those to E drive.&lt;BR /&gt;&lt;BR /&gt;Take a snap of the original path settings, in-case you want to revert it back to the original paths later.</description>
      <pubDate>Thu, 19 Dec 2019 06:10:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612929#M178938</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2019-12-19T06:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: Directing Batch Mode</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612931#M178939</link>
      <description>Can you try if it works with quotes?&lt;BR /&gt;&lt;BR /&gt;....\sas.exe -sysin "\..\..\&amp;lt;path-to-your-program.sas&amp;gt;"</description>
      <pubDate>Thu, 19 Dec 2019 06:15:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Directing-Batch-Mode/m-p/612931#M178939</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2019-12-19T06:15:43Z</dc:date>
    </item>
  </channel>
</rss>

