BookmarkSubscribeRSS Feed
Nexus075
Calcite | Level 5

Hi everyone,

 

I accidentally deleted my program in SAS Studio. Is there a possibility to retrieve it ?

8 REPLIES 8
Ksharp
Super User
Ctrl + z ?
Nexus075
Calcite | Level 5
I tried but it didn't work. I deleted the file with the program, not the program itself.
Sajid01
Meteorite | Level 14

I think you are out of luck.

fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10

I am sorry to hear that. Unfortunately there is no trash bin functionality built into SAS. What is possible when it comes to recovery is strongly dependent on your OS type and setup. There might be hope, (see @Kurt_Bremser 's posting) but you should have a chat with your admin or some experienced user.

 

What I do not understand is what you mean with "I deleted the file with the program, not the program itself." Is it still somewhere available to you?


And should it really be gone: Very often it is quicker to re-write the code ... (and find out that it is way faster the second time). Don't know how precious your program was/is to you.
Good Luck
Fja

SASKiwi
PROC Star

I think it is worth pointing out that SAS's other IDE SAS Enterprise Guide has AUTOSAVE functionality and that would have probably enabled you to recover. I don't know if there is any equivalent feature is planned for SAS Studio. If you had SAS Studio's Git code change management feature enabled then this would have allowed an "undelete". If you are using SAS Studio within an organisation then it is best practice to have Git code change management enabled. Ask your SAS administrator if it isn't.

fja
Lapis Lazuli | Level 10 fja
Lapis Lazuli | Level 10

Thank you for your reply. There was another thread in the forum today just about project recovery in EG ... maybe you can lend a helping hand there ...
Cheers
FJa

gwootton
SAS Super FREQ

If you delete a file from SAS Content in SAS Viya it goes to the Recycle Bin, so it depends on the version of SAS and where the program file was stored as to whether its recovery would be a function of SAS or the file system.

 

SAS Viya 3.5 Administration: Folders Overview

https://go.documentation.sas.com/doc/en/calcdc/3.5/calfolders/p1vdhqg0si2trfn1bn05jy6kat0x.htm

--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 8 replies
  • 1172 views
  • 3 likes
  • 7 in conversation