Is it possible to code a ”reset SAS session” into a script in SAS Studio, instead of using the F9 button?
I need it for some automation, where I would like SAS to reset between scripts.
The ENDSAS statement may get you close to what you would like to do. However, note, it will immediately terminate the SAS session that SAS Studio is using without SAS Studio having any forewarning (ex. you won't get back a log or results for code in the same program before the endsas statement).
Casey
Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF
View now: on-demand content for SAS users
I don't know what the reset in SAS Studio does, but certainly all of these are possible via code:
and probably other things as well
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!
Get started using SAS Studio to write, run and debug your SAS programs.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.