BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
kvpseshu
Calcite | Level 5

By mistake without using out statement i have modified existing data set, Is there any possibility for retrieving the previous data set  

1 ACCEPTED SOLUTION

Accepted Solutions
PeterClemmensen
Tourmaline | Level 20

No. PROC SORT Replaces the exitsting data set if you do not specify the OUT= Option.

View solution in original post

2 REPLIES 2
PeterClemmensen
Tourmaline | Level 20

No. PROC SORT Replaces the exitsting data set if you do not specify the OUT= Option.

Kurt_Bremser
Super User

@kvpseshu wrote:

By mistake without using out statement i have modified existing data set, Is there any possibility for retrieving the previous data set  


Only from the last backup.

 

If you did not do anything that removes information (nodupkey, drop columns), and you know the previous sort order, you can re-sort it to that.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 673 views
  • 0 likes
  • 3 in conversation