<?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: Work library in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/592028#M76021</link>
    <description>&lt;P&gt;If SAS crashes then you may be left with SAS WORK folders on your C drive that can't be cleaned up by PROC DATASETS. In Windows Explorer navigate to your SAS WORK folder, normally called SASWORK and delete any old folders named _TDnnnn_xxxxxxxx.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2019 21:03:15 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-09-26T21:03:15Z</dc:date>
    <item>
      <title>Work library</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/591930#M76015</link>
      <description>&lt;P&gt;Hi.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am working on pc laptop with the latest SAS Base installed.&amp;nbsp; I have had errors and storage issues running large temporary work data being stored in my laptops 'c' drive.&amp;nbsp; I've written code to delete any temporary tables as I work along by inserting&lt;/P&gt;
&lt;P&gt;'proc datasets lib=work kill nolist memtype=data;&amp;nbsp; quit;'&amp;nbsp; anywhere I can.&amp;nbsp; But my jobs are failing due to storage.&amp;nbsp;&amp;nbsp;I believe there is code where I can direct the processing of my data on an external drive (with more storage) to continue on my work?&amp;nbsp; Does anyone know the code for this?&amp;nbsp; &amp;nbsp;I would like this code embedded into the software so I do not have to run any macros each time I load up SAS.&amp;nbsp; Can anyone help me?&amp;nbsp; Thank you in advance&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 17:25:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/591930#M76015</guid>
      <dc:creator>BaileyY</dc:creator>
      <dc:date>2019-09-26T17:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Work library</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/591931#M76016</link>
      <description>&lt;P&gt;Make a copy of the configuration file used for your SAS session (with just Base installed, this should be sasv9.cfg in Program Files\SASHome\SASFoundation\9.4), and modify the -WORK directive. Then change your desktop link to use that configuration file.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 17:31:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/591931#M76016</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2019-09-26T17:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Work library</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/591934#M76017</link>
      <description>Storage or RAM? &lt;BR /&gt;What types of PROCS are you running? If it's Sorts, merges and such it's likely a storage issues. If it's regression or optimization, it's likely a RAM issue. &lt;BR /&gt;&lt;BR /&gt;A common workaround for this is to assign a library with the name USER at the beginning of processes you know are large and need to be redirected. Then all files will go to that folder. You will want to introduce some more data management by dropping intermediary data sets if needed.  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Sep 2019 17:41:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/591934#M76017</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-09-26T17:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Work library</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/592028#M76021</link>
      <description>&lt;P&gt;If SAS crashes then you may be left with SAS WORK folders on your C drive that can't be cleaned up by PROC DATASETS. In Windows Explorer navigate to your SAS WORK folder, normally called SASWORK and delete any old folders named _TDnnnn_xxxxxxxx.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 21:03:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/592028#M76021</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-09-26T21:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: Work library</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/592042#M76022</link>
      <description>One additional item to consider...&lt;BR /&gt;&lt;BR /&gt;Are you compressing your data?  Better when you have many character variables:&lt;BR /&gt;&lt;BR /&gt;options compress=yes;&lt;BR /&gt;&lt;BR /&gt;Better when you have many numeric variables:&lt;BR /&gt;&lt;BR /&gt;options compress=binary;</description>
      <pubDate>Thu, 26 Sep 2019 22:03:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/592042#M76022</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2019-09-26T22:03:13Z</dc:date>
    </item>
    <item>
      <title>Re: Work library</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/594410#M76065</link>
      <description>&lt;P&gt;1.Even (much) better is to use SPDE tables with binary compression.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname W spde "%sysfunc(pathname(WORK))" compress=binary partsize=1t;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Data sets are typically shrunk by at least 80%.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Also consider splitting the paths for the WORK library and for the utility files onto separate disks, using option UTILLOC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2019 04:25:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Work-library/m-p/594410#M76065</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2019-10-07T04:25:26Z</dc:date>
    </item>
  </channel>
</rss>

