BookmarkSubscribeRSS Feed
m491_2
Calcite | Level 5

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,

1 REPLY 1
ballardw
Super User

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.

 

 

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 577 views
  • 0 likes
  • 2 in conversation