I have mistakenly executed one data step that updated one of the permanent tables. Can anybody tell me is there any way to restore the data sets with the earlier version??
I will highly appreciate if anybody comesback with a quick and fast solution..
Assuming that you can't programmatically restore the tables to it's previous state, there are just a few thing that can help you:
I guess IT support always has physical backup for all your server drive (D:\, E:\ whatever) and retention for daily physical content also should be there. you can use their help...
In future you may want to add ACCESS=READONLY to your libname statements.
Or you can add ALTER or WRITE passwords to the data set you don't want to change.
Yes there is. If you connect with R to SAS R has its own dataset reader interface what draws through the deleted records too and you can undelete them in R.
Another possible option what I have not tried for 25 years - so maybe it does not work anymore - is dBase. As far I remember, dBase export from SAS contained the deleted records too, and you could set them back to undeleted in dBase. There still exists dBase somewhere out there but I did not try it with this version.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.