Help using Base SAS procedures

ERROR: Insufficient Space

Reply
Contributor
Posts: 25

ERROR: Insufficient Space

[ Edited ]

SAS Community, 

 

I am trying to run a proc phreg with a model like so:

 

proc phreg data=cars;
class year (ref=‘0’) miles (ref=‘0’) gas (ref='0') model (ref=‘0’) cost(ref=‘0’) yearbought (ref=‘0’);
model (t1, t2) *censor(0)= year miles gas model cost yearbought /ties=efron rl;
output out=Mustang 
dfbeta=dfbvar1 dfbvar2 dfbvar3 dfbvar4 dfbvar5 dfbvar6 
ressch=scoenvar1
ressco=scorevar scorevar2 scorevar3 scorevar4 scorevar5 scorevar6
run;
 
ERROR: Insufficient space in file WORK.'SASTMP-000000401'n.UTILITY.
ERROR: FILE WORK.'SASTMP-000000401'n.UTILITY is damaged. I/0 processing did not complete.
 
Any thoughts on how to fix this problem?  
Super User
Posts: 3,187

Re: ERROR: Insufficient Space

You've run out of disk space in your SAS WORK library. Where are you running your program? On a PC, on a remote SAS server?

 

If it's on a PC check the space on your hard drive.

Contributor
Posts: 25

Re: ERROR: Insufficient Space

remove server. I have no choice but to work in the library it seems and I have tried other options like clearing it as much as possible.
Super Contributor
Posts: 330

Re: ERROR: Insufficient Space

There are a number of useful tips here https://support.sas.com/resources/papers/proceedings15/3196-2015.pdf which might help

Contributor
Posts: 25

Re: ERROR: Insufficient Space

Besides the lack of disk-space, I am trying to diagnose the problem.  Could it be that there is something 'wrong' with the code itself?

Contributor
Posts: 25

Re: ERROR: Insufficient Space

Thanks for that Chris. I found the compress option interesting. I am still having the same issue except now the error shows up when I try to run the same analysis that worked successfully in the past. Does anyone know how to deal with that?
Ask a Question
Discussion stats
  • 5 replies
  • 184 views
  • 0 likes
  • 3 in conversation