BookmarkSubscribeRSS Feed
SAS Employee

Ever experience the horror of losing several hours of work in SAS Foundation because you didn’t save your program before SAS crashed for some mysterious reason? Don’t despair – there is hope.  There is an autosave function, that saves your unsaved programs. You might have lost a few minutes of work, but no more than 10 since this is the default setting for the autosave interval in SAS Foundation. This might be old news to some of you, but hopefully it will help others.


Simply browse to this location:

On Windows 7, 8 and 10 and some server versions:



A screen shot from my own computer. Apparently, I had a crashed session on September 26 with two Enhanced Editors open, which I can now recreate, if I wish. Or delete, to free up the space (if they had been a bit bigger).


juletip screen shot1.png


Here you will find the autosaved programs, which you can then bring into a new SAS session and save in your preferred location.


Please be aware that the autosaved files are deleted when you close your SAS session. In fact, if you close the enhanced editor window, the file is deleted. This, obviously, only applies when your SAS session doesn’t crash.


Should you wish to change the time interval for the autosave function, open SAS Foundation and select Tools -> Options -> Preferences and select the Edit pane.


juletip screen shot2.png


This tip applies to SAS 9.2, 9.3 and 9.4. For more information and other versions of SAS and Windows, see


Merry Christmas!

SAS Employee

An even easier shortcut to your autosaved files is:




Just paste the above into the Windows Explorer in the Address field at the top.



SAS is headed back to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team.

Interested in speaking? Content from our attendees is one of the reasons that makes SAS Innovate such a special event!

Submit your idea!

Discussion stats
  • 1 reply
  • 2 in conversation