Hi all,
Just suffered a major error. None of my work is saving - just lost 3 hours of code. Massively stressed with deadlines and don't need this.
"ERROR: Save FAILED."
Does anyone know a quick and urgent fix please 😞
Many thanks,
Crai
g
@SASJedi wrote:
Where did you see the "ERROR: Save FAILED." message?
See the error message in the status bar in the screenshot.
I've never seen that error, but I have had cases where hitting save didn't actually save, and I had to hit it a few times. I think this is a result of all the background scans/backups running on my corp PC sometimes locking files.
I would start by thinking about *where* you are trying to save the .sas file. Is it local to your PC, or on some network share. Make sure you have write access to the folder. Saving to a local location on windows may be faster/safer because no wifi/network in the middle. Also, save early save often.
It's probably a permissions issue, but one option could be to use an alternative IDE for running SAS.
VS Code for instance.. This will autosave your work, and keep a cached copy even if it can't be saved.
https://www.youtube.com/watch?v=HrcsR_4OVBU
Hi @CraigSmith,
@CraigSmith wrote:
... just lost 3 hours of code. Massively stressed with deadlines ...
Sorry to hear this.
C:\Users\username\AppData\Roaming\SAS\EnhancedEditor\Autosave of programname.$AS(where C may or may not be your local C drive, but possibly on a terminal server such as Citrix). These .$AS files are text files and so can be opened with Notepad.
Good luck!
Hit ctrl-a, followed by ctrl-c. Then open Notepad or similar, and hit ctrl-v. Then save it as text.
This way you get a copy outside of SAS.
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.