Sometimes SAS doesn't shut down correctly and you get stuck with orphaned workspace. These orphaned workspace directories should be cleaned out now and again. You can run this code in SAS to find out where your workspace is and then go to the directory and delete any old ones.
data _null_;
w = getoption('work');
put w=;
run;
On my windows machine this gets me something like:
w=C:\DOCUME~1\STEPHE~1\LOCALS~1\Temp\SAS Temporary Files\_TD3516
Now I can go to C:\DOCUME~1\STEPHE~1\LOCALS~1\Temp\SAS Temporary Files\ and delete all the old ones.
Note, this is straightforward on a single user machine like my windows laptop, but you have to be more careful in multi-user environments where you don't want to delete active workspaces that others are using.
For multi-user environments like unix there is a utility that SAS provides called cleanwork.
Wednesday, August 26, 2009
SAS Orphaned Workspace
Subscribe to:
Posts (Atom)