Even after redirecting the log to a differnt file I'm still getting the message Disk full and out of resources and also I'm not able to delete the log file manually. when i try to delete I get this message that file is in use.
is there any turn around for the following?
file name logfile 'C:\temp\logfile_%sysfunc(date(),date9.).log';
proc printto log=logfile new;
run;
You need run:
proc printto; run;
in oredr to close the logfile and release resources.
Thank you. What about the disk full issue?
If you succedded to release the log then first try to delete it.
Beyond look at the folder and check your disk for extra files that can be deleted and delete them
Then use options obs=100; and run a test (be aware not to damage your files) and check your log
for messages. Maybe you are in a loop.
I would also suggest looking into what you are writing to the log.
You may put statements in loops that aren't quite what you intended.
A disk full on the C: drive is no simple thing. When you are able to fill the drive with a log file, a thorough clean of the disk is in order.
And be aware that the log file may only be the symptom, not the cause.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.