> is there any way to keep the datasets and log errors so that I can see what is happening and debug?
To save the log, redirect it using proc printto. Sadly SAS decided to make developers' life harder when version 9 came out, and to remove the ability for them to disable log buffering. So you need the SAS admin's help to capture SAS's last breath, otherwise the last lines might remain in the buffer and never make it to the printto file. See here. 😜 😡 Any news on that front @ChrisHemedinger ?
To save the WORK files, look at option NOWORKTERM (see how easy it is when an option exists?)
@ChrisNZ wrote:Sadly SAS decided to make developers' life harder when version 9 came out, and to remove the ability for them to disable log buffering.
Depends on how you are running SAS. I just added this line to the sasv9.cfg file in my home directory.
-logparm 'write=immediate'
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.