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
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
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.
Is there a SAS statement that I can use to delete the temporary files or how to Do that?
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
Thanks Shiva
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.)
welcome..
Thank you. your code saved my time.
Thanks
You can visit the web site which is showed below:
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: