Would just like to clarify how SAS Cleanwork works. Does it delete sessions that are still up and running on the Server side but not on the client side?
Cleanwork utility - SAS 9.4 Companion for Windows, Fifth Edition
Cleanwork utility - SAS 9.4 Companion for UNIX Environments, Fifth Edition
"Deletes any leftover Work directories, utility directories, or both, whose associated SAS process has ended."
What "client side" SAS processes are you referring to?
A clear case of read the manual:
To summarise: it discovers and removes SAS temporary files that are no longer opened by a SAS session. It doesn't do anything with SAS sessions.
@iSAS - this only applies to SAS WORK or utility libraries. These are deleted at the end of every SAS session anyway if SAS closes normally. Cleanwork removes folders created by SAS sessions that didn't close properly. If you need to keep a "temporary" file put it in a SAS permanent library if it is a SAS file.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.
Find more tutorials on the SAS Users YouTube channel.