does sas_util file under temp work dir has data?
there is one big sas_util file under temp work dir and we want to delete it but we don't want to loose any data - can we delete it? we want to freeup some space...
thanks!
SAS_UTIL files are temporary utility files used by SAS for processing purposes. It is safe to delete them as long as the SAS process that created it is no longer running.
Most SAS sites regularly run the CLEANWORK utility to do automatic removal of old temporary SAS files and folders.
SAS_UTIL files are temporary utility files used by SAS for processing purposes. It is safe to delete them as long as the SAS process that created it is no longer running.
Most SAS sites regularly run the CLEANWORK utility to do automatic removal of old temporary SAS files and folders.
@woo wrote:
Thank you SASKiwi - we had error in code and we closed session so may be SAS didn't have opportunity to clean up itself when we closed it...
This is a common occurrence, from users not waiting for a process to finish or SAS terminating abruptly. As @SASKiwi mentions, running Clean Work utility on a regular basis to avoid files left lying around after a process abnormally terminates.
Thank you Reeza for your comment, we have that in place but i think since sas eg looks for pid upon cleanup, that session might be left over (uncleaned).
@woo wrote:
Thank you SASKiwi - we had error in code and we closed session so may be SAS didn't have opportunity to clean up itself when we closed it...
I have a shell script that runs cleanwork on all our WORK/UTILLOC locations. Besides being run from cron, I also run that script everytime I have to kill a SAS process.
Some programming errors can leave SAS in a state where only kill -9 works, or even a successful kill without -9 does not perform the cleanup.
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.
Find more tutorials on the SAS Users YouTube channel.