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: Call for Content

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!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 17 replies
  • 2043 views
  • 3 likes
  • 7 in conversation