<?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: Redirect paths in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399887#M66673</link>
    <description>&lt;P&gt;Its a laptop and the conf file file is in my program files folder.&amp;nbsp; &amp;nbsp;Its runniing SAS 9.4&lt;/P&gt;</description>
    <pubDate>Fri, 29 Sep 2017 19:02:14 GMT</pubDate>
    <dc:creator>SannaSanna</dc:creator>
    <dc:date>2017-09-29T19:02:14Z</dc:date>
    <item>
      <title>Redirect paths</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399869#M66671</link>
      <description>&lt;P&gt;Hi.&amp;nbsp; Can someone help me with code to re-direct the path for the SAS Temp Folder.&amp;nbsp; I believe its currently in 'c' drive but&amp;nbsp;I'd like to&amp;nbsp;direct SAS to use an external drive to process and store the temp files.&amp;nbsp;&amp;nbsp; Any help would be greatly appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 18:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399869#M66671</guid>
      <dc:creator>SannaSanna</dc:creator>
      <dc:date>2017-09-29T18:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect paths</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399886#M66672</link>
      <description>&lt;P&gt;It is the -work option in the config file.&lt;/P&gt;
&lt;P&gt;Where you find that config file depends on the type of your SAS setup. (Desktop, BI Server, ...)&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 18:56:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399886#M66672</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-09-29T18:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect paths</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399887#M66673</link>
      <description>&lt;P&gt;Its a laptop and the conf file file is in my program files folder.&amp;nbsp; &amp;nbsp;Its runniing SAS 9.4&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 19:02:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399887#M66673</guid>
      <dc:creator>SannaSanna</dc:creator>
      <dc:date>2017-09-29T19:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect paths</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399888#M66674</link>
      <description>&lt;P&gt;This is possible but the approach may depend on how you run SAS as it requires changes to the initialization of the program and cannot be changed after SAS is started.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are running a standalone base SAS Display manager session you will need to find the configuration file which is likely to reside in someplace like&lt;/P&gt;
&lt;P&gt;C:\Program Files\SASHome2\SASFoundation\9.4\nls\en&lt;/P&gt;
&lt;P&gt;exact path will vary by version&lt;/P&gt;
&lt;P&gt;You are looking for sasv9.cfg&lt;/P&gt;
&lt;P&gt;Look for the -WORK line and change it to read similar to&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-WORK= "Path\Folder"&lt;/P&gt;
&lt;P&gt;where Path is a fully qualified system path (starts with a Drive letter in windows, or your mount point in others)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your IT folks have locked down the Program files folder as in my organization you may not be able to save the config file in its current location. If that is the case then save it some where you control and then change or copy of the program icon to have the -CONFIG option point to your version. If your program icon doesn't then add -CONFIG "Pathtoconfig\sasvg.cfg" or what ever the path and name of the saved version you created.&lt;/P&gt;
&lt;P&gt;If you have batch jobs you will need to make sure that the -CONFIG used in the command like uses the desired config file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Other installs, I'm not sure of as I don't work in&amp;nbsp;a server environment and more admin types may be involved.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 19:02:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399888#M66674</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-09-29T19:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect paths</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399889#M66675</link>
      <description>&lt;P&gt;I would&amp;nbsp;assume you are using local SAS 9.1+&amp;nbsp; (not server version), and you have access to your local SAS folder.&lt;/P&gt;
&lt;P&gt;1. Locate&amp;nbsp;sasv9.cfg&lt;/P&gt;
&lt;P&gt;you can just simply search it using OS or right click SAS icon check on properties, you may see something like:&lt;/P&gt;
&lt;P&gt;"C:\Program Files\SASHome\SASFoundation\9.4\sas.exe" -CONFIG "C:\Program Files\SASHome\SASFoundation\9.4\nls\en\sasv9.cfg"&lt;/P&gt;
&lt;P&gt;, that tells you where to locate the config file sasv9.cfg&lt;/P&gt;
&lt;P&gt;2. Using text editor (e.g. notebook) open it and look for :-WORK “c:\whatever\”, then change it to where you want to route your temp file. Save the config file. restart SAS.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 19:05:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399889#M66675</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2017-09-29T19:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect paths</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399892#M66676</link>
      <description>found it.  Its currently -Work "!Temp\SAS Temporary Files"  If I am wanting it to be changed to an external drive would I enter the code as follows:  -Work "J:\extDrive\bigdata"  Exactly like that?  &lt;BR /&gt;</description>
      <pubDate>Fri, 29 Sep 2017 19:14:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399892#M66676</guid>
      <dc:creator>SannaSanna</dc:creator>
      <dc:date>2017-09-29T19:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect paths</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399894#M66677</link>
      <description>Also, would I need to change back or would it automatically default back to its original path after shutting down?</description>
      <pubDate>Fri, 29 Sep 2017 19:15:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399894#M66677</guid>
      <dc:creator>SannaSanna</dc:creator>
      <dc:date>2017-09-29T19:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Redirect paths</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399898#M66678</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12130"&gt;@SannaSanna&lt;/a&gt; wrote:&lt;BR /&gt;found it. Its currently -Work "!Temp\SAS Temporary Files" If I am wanting it to be changed to an external drive would I enter the code as follows: -Work "J:\extDrive\bigdata" Exactly like that? &lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes. And once that change is made, it will stay active until you change it back.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 19:18:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Redirect-paths/m-p/399898#M66678</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-09-29T19:18:29Z</dc:date>
    </item>
  </channel>
</rss>

