<?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 work folder in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601602#M76392</link>
    <description>&lt;P&gt;I am running remote SAS, but my work folder is as good as empty.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Nov 2019 09:35:09 GMT</pubDate>
    <dc:creator>fouke_o</dc:creator>
    <dc:date>2019-11-05T09:35:09Z</dc:date>
    <item>
      <title>Error: insufficient space in work folder</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601383#M76381</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I keep getting the error:&lt;/P&gt;&lt;P&gt;ERROR: Insufficient space in file WORK.VISITSADULTCOUNT.DATA.&lt;/P&gt;&lt;P&gt;ERROR: File WORK.VISITSADULTCOUNT.DATA is damaged. I/O processing did not complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I want to run the following code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data VisitsAdultcount;
	set visitsadult;
	ynomenc=year(SS00015);
		by H18;
		if First.H18 then do;
		visitsA=0;
		if (ynomenc GE startFU) and VERSTR_CARDIO_VOLW=1 then visitsA+1;
		if (last.H18) then /*loop for 1 patient*/		
		output;
	end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;H18 is my ID variable and my dataset contains approximately 15 million records. I want to count the number of visits for every person in the dataset.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how I can fix this or any other code I could use that wont give this issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 14:40:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601383#M76381</guid>
      <dc:creator>fouke_o</dc:creator>
      <dc:date>2019-11-04T14:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Error: insufficient space in work folder</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601408#M76382</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/266067"&gt;@fouke_o&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I guess there must be some issue with your input data set.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 15:26:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601408#M76382</guid>
      <dc:creator>KachiM</dc:creator>
      <dc:date>2019-11-04T15:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error: insufficient space in work folder</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601508#M76384</link>
      <description>&lt;P&gt;You've run out of disk space for your WORK dataset. Are you running SAS locally on your PC or on a remote SAS server?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are running SAS on your PC then delete any files you no longer need to free up space. Check your SASWORK folder to see if there are any old sub-folders that can be deleted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are running remote SAS then consult your SAS administrator to free up more space.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 20:32:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601508#M76384</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-04T20:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error: insufficient space in work folder</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601602#M76392</link>
      <description>&lt;P&gt;I am running remote SAS, but my work folder is as good as empty.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 09:35:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601602#M76392</guid>
      <dc:creator>fouke_o</dc:creator>
      <dc:date>2019-11-05T09:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error: insufficient space in work folder</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601603#M76393</link>
      <description>&lt;P&gt;Contents of your folder doesn't say whether you are running out of disk space or not.&lt;/P&gt;
&lt;P&gt;Contact you server admin to get help of analyzing disk space and your program behaviour.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding some options &amp;lt;might&amp;gt; give som more input on whats going on (in the future, provide the full log, instead of splitting up the message and the code):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options msglevel=i fullstimer;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 05 Nov 2019 09:49:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601603#M76393</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2019-11-05T09:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error: insufficient space in work folder</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601649#M76396</link>
      <description>&lt;P&gt;Use this option to re-direction your WORK library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;options user='d:\temp\';&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 12:52:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601649#M76396</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2019-11-05T12:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error: insufficient space in work folder</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601774#M76404</link>
      <description>&lt;P&gt;On a remote server you will be sharing the WORK folder with other users who could be filling it up. Like I said, talk to your SAS admin.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2019 19:17:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Error-insufficient-space-in-work-folder/m-p/601774#M76404</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-11-05T19:17:44Z</dc:date>
    </item>
  </channel>
</rss>

