Disk Full "OUT OF RESOURCES Select"

Accepted Solution Solved
Reply
Super Contributor
Posts: 297
Accepted Solution

Disk Full "OUT OF RESOURCES Select"

Hi  I am having this issue running SAS

"OUT OF RESOURCES Select"

-R. Retry

-N Tell procedure/DATA step no more resources

-C Cancel Submitted Statement

- T. Terminate SAS

What is wrong with my SAS?

PLease Help


Accepted Solutions
Solution
‎07-05-2013 07:41 AM
Contributor
Posts: 56

Re: Disk Full "OUT OF RESOURCES Select"

the below code will helps to you delete all datasets in work library.

proc datasets library=work kill;

run;

make sure before delete it, if you no need any datasets under in work library.

if you want to delete only particular datasets means then you can use below code for delete.

proc datasets library=work;

delete <DSN>;

run;

Shiva

View solution in original post


All Replies
Super User
Posts: 3,112

Re: Disk Full "OUT OF RESOURCES Select"

You have run out of disk space that SAS requires for either temporary dataset processing or for creating permanent datasets.

Check the location of the SAS dataset being written when the error occured. If it is your PC check your hard drive for free space available. Try and free up space by deleting files you no longer need. You may find that SAS has not deleted old temporary datasets (where your WORK libname points to) so you need to clean this up yourself.

If remote drives are involved try to free up some space also.

Super Contributor
Posts: 297

Re: Disk Full "OUT OF RESOURCES Select"

Is there a SAS statement that I can use to delete the temporary files or how to Do that?

Solution
‎07-05-2013 07:41 AM
Contributor
Posts: 56

Re: Disk Full "OUT OF RESOURCES Select"

the below code will helps to you delete all datasets in work library.

proc datasets library=work kill;

run;

make sure before delete it, if you no need any datasets under in work library.

if you want to delete only particular datasets means then you can use below code for delete.

proc datasets library=work;

delete <DSN>;

run;

Shiva

Super Contributor
Posts: 297

Re: Disk Full "OUT OF RESOURCES Select"

Thanks Shiva

New User
Posts: 1

Re: Disk Full "OUT OF RESOURCES Select"

Greetings,

when i try to run
"proc datasets library=work kill;

run;"

as you have listed earlier, the same OUT OF RESOURCES error pops up again. 

Would you kindly explain what I am doing wrong/how I can possibly fix this? Would I need to start over from scratch?

(I do not have access to documents folders or other settings since the SAS license is on a school computer.)

Contributor
Posts: 56

Re: Disk Full "OUT OF RESOURCES Select"

welcome..

New Contributor
Posts: 2

Re: Disk Full "OUT OF RESOURCES Select"

Thank you. your code saved my time.

New Contributor
Posts: 2

Re: Disk Full "OUT OF RESOURCES Select"

Thanks

Frequent Contributor
Posts: 109

Re: Disk Full "OUT OF RESOURCES Select"

You can visit the web site which is showed below:

http://support.sas.com/kb/24/548.html

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 9 replies
  • 10921 views
  • 0 likes
  • 6 in conversation