The Cleanwork utility searches and cleans temporary SAS files and SAS utility directories.
The Cleanwork utility, cleanwork.exe, is a command-line utility and is installed as
part of Base SAS in the SASROOT
directory. The Cleanwork utility replaces the SAS Disk Cleanup Handler Utility.
Cleanwork searches the specified directory or volume for SAS work directories with
the following formats. If the
process ID is no longer in use and the nodename matches the host name of the machine that created
the directory, cleanwork deletes the entry. The contents of the directory are removed.
#TD<pid>, _TD<pid>,
_TD<pid>_<nodename>_
where
-
#TD is
the SAS V6.X prefix
-
_TD is
the SAS V7+ prefix
-
-
nodename is the host name of the machine that created the directory.
The Cleanwork utility
also removes SAS utility directories that have the following format:
SAS_utilNNNNPPPPPPPP_nodename
where
-
NNNN is
a unique random number
-
PPPPPPPP is the hexadecimal representation of the process ID
-
nodename is the host name of the machine that created the directory.
Note: The Cleanwork utility is
available beginning with the second maintenance release of SAS 9.4.