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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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