- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I have been receiving the following error from SAS when I try to run a program.
ERROR: Insufficient space in file WORK.CARES1_8.DATA.
ERROR: File WORK.CARES1_8.DATA is damaged. I/O processing did not complete
From what I could gather from other forum posts, my temporary file work folder has been clogged up from SAS programs that have been incorrectly terminated (I have been terminating programs recently due to long running times). I am unable to find the folder to clear these temporary files? Is there a SAS proc or a location I should be looking in on my PC?
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi @njgrubic,
Folder AppData is hidden by default. So, you need to change the setting for "Hidden files and folders" in the Windows Explorer: Tools --> Folder Options… --> View.
EDIT: Actually @Kurt_Bremser deserves the "accepted solution". To make this post an alternative solution I add:
%put %sysfunc(pathname(work));
The above %PUT statement writes the path of the WORK library to the log. Typically, the parent folder of that folder contains the "orphaned" Work folders from old (crashed) SAS sessions alongside the current Work folder(s). The subfolder names contain process IDs to make them unique.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Start a SAS session, right-click on WORK in Libraries, and select Properties. You will see the physical path to the directory. How you navigate there depends on your SAS setup (local, client-server, operating systems). Then you remove all orphaned directories there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Kurt - I have tried this although I am unable to find the physical path directory provided. It sends my to my user folder and then directs me to an AppData folder. Although I can't seem to find this AppData folder in the path location. Any other thoughts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi @njgrubic,
Folder AppData is hidden by default. So, you need to change the setting for "Hidden files and folders" in the Windows Explorer: Tools --> Folder Options… --> View.
EDIT: Actually @Kurt_Bremser deserves the "accepted solution". To make this post an alternative solution I add:
%put %sysfunc(pathname(work));
The above %PUT statement writes the path of the WORK library to the log. Typically, the parent folder of that folder contains the "orphaned" Work folders from old (crashed) SAS sessions alongside the current Work folder(s). The subfolder names contain process IDs to make them unique.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
libname x v9 'c:\temp';
options user=x ;