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.

 

 

sas-innovate-wordmark-2025-midnight.png

Register Today!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.


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
  • 408 views
  • 0 likes
  • 2 in conversation