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.
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.