<?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: Changing SAS's work library path in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879664#M39038</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/333045"&gt;@Ihsan-Mahdi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you for responding! I don't have permission to change the configuration file so I was hoping to obtain code that would redirect temporary files temporarily so to speak!&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Where I work, we can't change the default CONFIG file. But you can copy it to a place where you do have permission to change it, so you can add in the option now. Then change the startup options to point to this copied CONFIG file (if you are using Windows, you do this in the shortcut that launches SAS, assuming you are using base SAS 9.4), not the original CONFIG file.&lt;/P&gt;</description>
    <pubDate>Wed, 07 Jun 2023 21:36:02 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2023-06-07T21:36:02Z</dc:date>
    <item>
      <title>Changing SAS's work library path</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879629#M39032</link>
      <description>&lt;P&gt;Hello. Does anyone have code to redirect SAS temporary files? My C drive is running out of space but I have other drives with enough space left.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thankyou &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 18:39:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879629#M39032</guid>
      <dc:creator>Ihsan-Mahdi</dc:creator>
      <dc:date>2023-06-07T18:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: Changing SAS's work library path</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879652#M39033</link>
      <description>&lt;P&gt;This is set in the configuration file for the SAS session. The location of the configuration file depends on the way SAS is used (workspace server with SAS Studio or Enterprise Guide, or native with Display Manager).&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 19:30:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879652#M39033</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2023-06-07T19:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Changing SAS's work library path</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879655#M39034</link>
      <description>Thank you for responding! I don't have permission to change the configuration file so I was hoping to obtain code that would redirect temporary files temporarily so to speak!</description>
      <pubDate>Wed, 07 Jun 2023 20:27:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879655#M39034</guid>
      <dc:creator>Ihsan-Mahdi</dc:creator>
      <dc:date>2023-06-07T20:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Changing SAS's work library path</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879658#M39035</link>
      <description>&lt;P&gt;Create a library called USER. SAS will then default all WORK tables to this library instead.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You will need to manually delete the files in this library when you're done with it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname user 'C:\path to save files';&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 07 Jun 2023 20:41:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879658#M39035</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-06-07T20:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: Changing SAS's work library path</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879659#M39036</link>
      <description>Thank you! I will try this</description>
      <pubDate>Wed, 07 Jun 2023 20:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879659#M39036</guid>
      <dc:creator>Ihsan-Mahdi</dc:creator>
      <dc:date>2023-06-07T20:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: Changing SAS's work library path</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879662#M39037</link>
      <description>&lt;P&gt;If you are running SAS on a PC using the SAS Windowing Environment then you can create a program short cut including the command: sas.exe -work '&amp;lt;My new path&amp;gt;'&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 21:00:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879662#M39037</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-06-07T21:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Changing SAS's work library path</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879664#M39038</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/333045"&gt;@Ihsan-Mahdi&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;Thank you for responding! I don't have permission to change the configuration file so I was hoping to obtain code that would redirect temporary files temporarily so to speak!&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Where I work, we can't change the default CONFIG file. But you can copy it to a place where you do have permission to change it, so you can add in the option now. Then change the startup options to point to this copied CONFIG file (if you are using Windows, you do this in the shortcut that launches SAS, assuming you are using base SAS 9.4), not the original CONFIG file.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2023 21:36:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879664#M39038</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-06-07T21:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Changing SAS's work library path</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879733#M39040</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;/*
1)The best way is change config file.
Add the following command in SASV9.CFG  .
-work 'd:\temp'

2)Also you could try the following code to redirect WORK library.
*/
libname x v9 'd:\temp\';
options user=x;

data class;
 set sashelp.class;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Jun 2023 11:43:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Changing-SAS-s-work-library-path/m-p/879733#M39040</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-06-08T11:43:06Z</dc:date>
    </item>
  </channel>
</rss>

