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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

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