In reply to Ray Angell.

Ray, I don't understand why the WORK folder is disappearing on you. I hear from customers all of the time who leave their SAS Enterprise Guide session up for days connected to the same SAS session (not that I recommend that!). I know that on SAS-L we shared some ideas to diagnose the cause of that problem - searching Windows Event Log for crashes, etc.

But in the meantime, you might be able to take some steps to redirect the SAS WORK output to another folder, or prevent it from being deleted at the end of a session. See the WORK= option or NOWORKTERM system option.

You can also use the USER system option to redirect SAS output to another location other than WORK for code that specifies just a one-level name (like DATA OUT; -- instead of WORK.OUT it would go to the USER.OUT location).