BookmarkSubscribeRSS Feed
R_Chung
Quartz | Level 8

I found out that when I finish running or cancel the running job, there are some information stored in some working folders(stored in saswork - UNIX). Sometimes it will be automatically deleted but sometimes it will still stay there. Would there any options for us to do before running a job or telling sas di to delete the corresponding working folders?

2 REPLIES 2
Shmuel
Garnet | Level 18

SASWORK exists as long as the SAS session exists.

The folder is removed by SAS, when SAS session ends normally, but stays on when job is canceled.

 

The only way I know in unix is to cancel the delete it manually, when job ends suddenly.

Kurt_Bremser
Super User

SAS provides a utility (SASFoundation/9.4/utilities/bin/cleanwork) that can (and should) be used regularly (think cron job) to remove leftover WORK directories from SAS sessions that did not terminate gracefully.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 869 views
  • 0 likes
  • 3 in conversation