I have an error in SAS about insufficient space, but df -h shows I do have space
I see : ERROR: Insufficient space in file WORK.* but I should have space
There are three possible scenarios here. First is that your Project's Volume Size is too small for your work area. The total Volume Size for a Project must encompass your 'Files' size, any imported Projects, and Repos added to the project. This is compounded as well, since the Imported Projects may import additional projects as well.
The Second cause could be that your SAS WORK area is full. Since Domino has Resumable Workspaces, and you could sync things back - the WORK area may need to be pruned before you start working. Normally, SAS will prune this once you exit SAS. If you're resuming workspaces, you may need to establish a cadence for this since stopping a Workspace is not the same as stopping SAS!
The third item to note, is that during data ingestion - SAS may require up to 4x (four times) the amount of storage space in relation to the actual data to be processed! Therefore, the Volume Size and df -h may only have 1/4 of the story/resources needed to actually handle your workload.
Prune your WORK data before commencing work:
proc datasets library=work kill nolist;
Please see the additional SAS documentation: https://communities.sas.com/t5/SAS-Data-Management/ERROR-Insufficient-space-in-file-WORK/td-p/465942
You can also use workarounds, like compressing WORK
out=work.basefile (compress = yes)
proc options option = work;If that doesn't work, a SAS community page says try:
Right click on the work library and you can find the work library path.
Or run this:
select path from dictionary.libnames
Or run a macro like:
%put &work_path ;
Set your WORK location either permanently in the .cfg file, or temporary using the USER options. We leave this up to the SAS user.
Please sign in to leave a comment.