Cleaning work files on Windows

Found an interesting paper by John M. Wildenthal of JPMorgan Chase called An Effective CLEANWORK.SASĀ® for Windows , outlining a way of automatically deleting work files for any SAS processes that have been terminated abnormally.

Abstract of the paper is:

SAS provides an effective utility for deleting orphaned work directories on Unix boxes. But their offering for Windows
merely deletes everything older than a particular time (http://support.sas.com/techsup/unotes/SN/008/008786.html).

This is unworkable for a server environment. This paper discusses a short program for Windows that parses the root
WORK directory and matches directory names to SAS v9 running processes. Directories that are not matched are
then deleted.

Share
Tags:  

2 Responses to Cleaning work files on Windows

  1. paul kent on August 15, 2008 at 1:54 am

    This is much improved in SAS9.2 – tis integrated with the windows disk cleanup manager. Have you been hearing much about SAS9.2 down under?

  2. Shane Gibson on August 15, 2008 at 9:20 pm

    Thanks Paul, any links to doco or details greatly appreciated.

    We have heard a little bit about SAS 9.2 down our way, through-out the last couple of years.

    But details have been scant, although I believe this is by design until Phase 2 is closer to being released.

    Having said that there is a lot of SAS 9;2 information being presented at the SAS Forum Australia and New Zealand 2008 (http://www.sasforum.com/anz/), which is on this week.

    Didn’t manage to make it to the forum myself unfortunately.

Leave a Reply

Your email address will not be published. Required fields are marked *

*