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

> 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?)

 

Tom
Super User Tom
Super User

@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'
ChrisNZ
Tourmaline | Level 20
The vast majority of SAS users don't have access to the config file since EG is now very sadly the standard interface. An option is the only way. Why take it out when it was there? There's no valid rationale.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 17 replies
  • 2146 views
  • 3 likes
  • 7 in conversation