> 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'
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.