<?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: ERROR: Insufficient space in file WORK in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340343#M63238</link>
    <description>&lt;P&gt;Please do not necro threads - that means draggin back threads from quite some time and replying with new questions. &amp;nbsp;Every time you do this people who responded originally start getting notifications for threads long since closed. &amp;nbsp;Open a new topic.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Mar 2017 09:29:15 GMT</pubDate>
    <dc:creator>RW9</dc:creator>
    <dc:date>2017-03-13T09:29:15Z</dc:date>
    <item>
      <title>ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243134#M55903</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After using SAS University Edition for a couple of weeks now,&amp;nbsp;I'm running into the two errors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#FF0000"&gt;ERROR: Insufficient space in file WORK.'SASTMP-000000019'n.UTILITY.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#FF0000"&gt;ERROR: File WORK.'SASTMP-000000019'n.UTILITY is damaged. I/O processing did not complete.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;It happens on many occasions, but the most strange example I have is the following;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;Table Data.example is 2.5M rows (100MB), with&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;p_id num, c_id num, startyear num, endyear num, flag num&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;1, 1, 2005, 2009, 0&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;1, 2, 2009, 2013, 0&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;1, 1, 2013, , 1&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;2, 5, 2001, 2012, 0&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;......&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;When I try to invoke the following&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;PRE&gt;PROC SQL;

UPDATE Data.example
SET endyear = 2020
WHERE flag = 1;&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;I get the error. I find this weird as the dataset may have many rows, but is still fairly small in size. Any ideas or suggestions on how to cope with this?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;UPDATE:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN style="line-height: normal;"&gt;When I run a completly new instance of SAS (in a new VirtualBox), everything runs great. Here the virtual drive size is still 10GB, but the real size is only 4GB. I guess that this is the difference? And how&amp;nbsp;is this possible?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Jan 2016 10:09:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243134#M55903</guid>
      <dc:creator>roelgeuskens</dc:creator>
      <dc:date>2016-01-13T10:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243137#M55904</link>
      <description>&lt;P&gt;A solution is finding a fold which has a large space . and specify :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options &amp;nbsp;user='d:\temp\' &amp;nbsp;;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;this option will use&amp;nbsp;d:\temp\ instead of&amp;nbsp;WORK library . and run your code again.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 08:51:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243137#M55904</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-01-13T08:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243142#M55905</link>
      <description>&lt;P&gt;Thanks for your reply Xia, but I don't that will&amp;nbsp;work.&amp;nbsp;I'm running it&amp;nbsp;in VirtualBox, and don't I thought that it was not possible to increase the size of the drive. The virtual size and real size are almost equal (10.7GB, 10.4GB),&amp;nbsp;but I don't know how that is possible, as I don't have that much data (~4GB, of which ~3GB of original data that I trimmed down to that 100MB noted above).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks to me like all temp files should be deleted somehow, but I don't know how this is possible or even if this is the way to go.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 09:38:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243142#M55905</guid>
      <dc:creator>roelgeuskens</dc:creator>
      <dc:date>2016-01-13T09:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243144#M55907</link>
      <description>&lt;P&gt;Use a datastep to do the update. &amp;nbsp;It has been pointed out the SQL can get quite resource hungry. &amp;nbsp;Now you can either do this two ways, the simplest would be with a datastep:&lt;/P&gt;
&lt;PRE&gt;data have;
  startyear=2005; endyear=2009; flag=0; output;
  startyear=2006; endyear=2009; flag=1; output;
run;

data want;
  set have;
  if flag=1 then endyear=2020;
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Jan 2016 09:41:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243144#M55907</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-01-13T09:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243150#M55909</link>
      <description>&lt;P&gt;Thanks for your reply, but I think the operation I try to perform should be no problem.&amp;nbsp;Especially since this is the easiest and simplest one I tried recently (when formatting, altering and reducing the 2GB file everything worked fine, so I don't believe a 100MB file with a single operation should cause any problem).&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 10:12:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243150#M55909</guid>
      <dc:creator>roelgeuskens</dc:creator>
      <dc:date>2016-01-13T10:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243157#M55911</link>
      <description>&lt;P&gt;As I said, SQL can be quite resource hungry. &amp;nbsp;You can also try clearing out work folders, if you right click on work in Explorer window in SAS, you can see the path to the work directory. &amp;nbsp;Go there and clear out the files. &amp;nbsp;Also right click on that folder and check how much space there is.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 11:15:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243157#M55911</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-01-13T11:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243374#M55927</link>
      <description>&lt;P&gt;Are you using SAS University Edition. If it was ,try :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;options &amp;nbsp;user='/folders/myfolders/' &amp;nbsp;;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 01:10:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/243374#M55927</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-01-14T01:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340189#M63216</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I´m having exactly the same problem. I used to access SAS with VMWARE, after a couple of weeks, it didnt work anymore. Then I moved to Virtual box. Excelent. Now, after two weeks, the LOG keeps saying:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="sasError"&gt;ERROR: Insufficient space in file WORK.IMPORT.DATA.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: File WORK.IMPORT.DATA is damaged. I/O processing did not complete.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;But it did the same task many many times in the past few days and very quickly. The file is 5mb in size, so this is not the problem. It seems that some table&amp;nbsp;has exploded in space and damaged the work area. I have tried changing the work location, restarting the virtual machines, running the code again and again, and nothing seems to work.&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;Where does the work files stay in the disk, regarding SAS Studio 3.5?&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;Thank you very much for any insight that could lead to solving the problem.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;On time:&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;Does SAS store the work tables in my computer or in the virtual machine?&lt;/DIV&gt;&lt;DIV class="sasError"&gt;Does SAS use my memory RAM or virtual machine´s RAM?&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;I have 8gb ram (sometimes it points to insufficient memory) and 70GB space left in HD.&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sat, 11 Mar 2017 21:34:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340189#M63216</guid>
      <dc:creator>leonardoparis</dc:creator>
      <dc:date>2017-03-11T21:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340190#M63217</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;The student version only allows for 10GB on your virtual drive. There is no way to change that, so be careful with what you save on the virtual machine.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;</description>
      <pubDate>Sat, 11 Mar 2017 21:39:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340190#M63217</guid>
      <dc:creator>roelgeuskens</dc:creator>
      <dc:date>2017-03-11T21:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340192#M63218</link>
      <description>&lt;P&gt;But how can this be possible? I ran the same code again and again, always on work are and with success, so it overwrited the tables, not increasing table size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Im now uninstalling everything to see what happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Sat, 11 Mar 2017 22:15:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340192#M63218</guid>
      <dc:creator>leonardoparis</dc:creator>
      <dc:date>2017-03-11T22:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340343#M63238</link>
      <description>&lt;P&gt;Please do not necro threads - that means draggin back threads from quite some time and replying with new questions. &amp;nbsp;Every time you do this people who responded originally start getting notifications for threads long since closed. &amp;nbsp;Open a new topic.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 09:29:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340343#M63238</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-13T09:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340424#M63245</link>
      <description>Sorry. New in the community. Should I do what you say for this? My intention was to notify that RJ had the correct solution.</description>
      <pubDate>Mon, 13 Mar 2017 14:21:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340424#M63245</guid>
      <dc:creator>leonardoparis</dc:creator>
      <dc:date>2017-03-13T14:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: Insufficient space in file WORK</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340430#M63248</link>
      <description>&lt;P&gt;Best to hit the like button on posts that help, and start a new thread for questions - things might have changed scince that post for instance.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 14:42:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/ERROR-Insufficient-space-in-file-WORK/m-p/340430#M63248</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-03-13T14:42:35Z</dc:date>
    </item>
  </channel>
</rss>

