Hello,
There is any chance to clean during the sas session sastmp-000000001.sas7bitm?
I was trying to use code below but error occur. Maybe you know any solution how to force SAS to clean such files during the session?
%let wpath=%sysfunc(pathname(work));
%put &wpath;
filename sascbtbl "&wpath.\sastmp-000000001.sas7bitm";
data _null_;
file "&wpath.\sastmp-000000001.sas7bitm";
run;
ERROR: File is in use,
The message is pretty clear, something is using the file. Most likely SAS. SAS will remove temporary files when no longer needed unless you crash SAS, so not a good idea.
That file an Item Store which are related to a variety of things such as your online help or possibly custom ods templates. Generally removing or editing item stores without a good knowledge of exactly each is for will break something.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.