Architecting, installing and maintaining your SAS environment

How to Clean Orphaned files in the GRIDwork directory

Accepted Solution Solved
Reply
Contributor
Posts: 39
Accepted Solution

How to Clean Orphaned files in the GRIDwork directory

The cleanmgr utility is able to clean up orphaned files on the local SAS servers, but we have a shared config location on a storage array where our SASwork/GRIDwork directoies are located.  We accumulate orphaned files there when client sessions don't close gracefully.  Is there a utility to clean the GRIDwork location, or do we need to do it manually?

 

TIA


Accepted Solutions
Solution
‎02-19-2016 11:15 AM
Trusted Advisor
Posts: 1,312

Re: How to Clean Orphaned files in the GRIDwork directory

You mentioned that your concern is that the cleanwork is a utility not for Windows, but it is.

Could you check, on the same article...?

 

Starting with SAS 9.4M2, there is a new stand-alone utility – cleanwork.exe – that you can use with any version of SAS, starting with SAS 6.

We have placed this utility along with its documentation on the SAS FTP download page:

 

With this, you can select the location of your work folders to clean them.

View solution in original post


All Replies
Trusted Advisor
Posts: 1,312

Re: How to Clean Orphaned files in the GRIDwork directory

Hi,

 

I am wondering, is the cleanwork utility, under SASFoundation, not working for you? 

 

 

Contributor
Posts: 39

Re: How to Clean Orphaned files in the GRIDwork directory

Posted in reply to JuanS_OCS

I think the cleanwork utility is only an option for UNIX and ZOS.  All our servers are Windows.  At least that what it seems like when I do a search for cleanwork on the SAS Support site.

Contributor
Posts: 39

Re: How to Clean Orphaned files in the GRIDwork directory

Using this article, http://blogs.sas.com/content/sgf/2014/05/14/finding-and-deleting-orphaned-sas-work-and-sas-utility-d... I was able to get the SAS Disk Cleanup Handler Utility to work, but only on the local SAS temp folders and files, not on the GRIDwork folder located on our storage array.

Solution
‎02-19-2016 11:15 AM
Trusted Advisor
Posts: 1,312

Re: How to Clean Orphaned files in the GRIDwork directory

You mentioned that your concern is that the cleanwork is a utility not for Windows, but it is.

Could you check, on the same article...?

 

Starting with SAS 9.4M2, there is a new stand-alone utility – cleanwork.exe – that you can use with any version of SAS, starting with SAS 6.

We have placed this utility along with its documentation on the SAS FTP download page:

 

With this, you can select the location of your work folders to clean them.

Contributor
Posts: 39

Re: How to Clean Orphaned files in the GRIDwork directory

Posted in reply to JuanS_OCS

Juans, I got it to work.  Thank you.

Trusted Advisor
Posts: 1,312

Re: How to Clean Orphaned files in the GRIDwork directory

Glad to read!

 

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 6 replies
  • 645 views
  • 1 like
  • 2 in conversation