BookmarkSubscribeRSS Feed
ShufeGuoding
Obsidian | Level 7

When i run a optimization subroutine, the log window is full and pops up the message "Windows is full and must be cleared , Slect" , which makes me  click the selection cirle very often. Ifi running  the following first

FILENAME OUT DUMMY '/DEV/NULL';

PROC PRINTTO LOG=OUT;

as some people suggest, I will not get the error message when the convergence is not properly achieved. How can i handle that?

2 REPLIES 2
SASKiwi
PROC Star

Have you looked at some of the "More Like This" posts?

For example: https://communities.sas.com/message/54696#54696

If you want a complete log running in batch is worth considering.

Rick_SAS
SAS Super FREQ

You do not need to print out the intermediate results. It sounds ike you have set the options vector to print a lot of information, such as option[2]=4.

Instead, set option[2]=0.  When the oprimization finishes, check the value of the return code. If the return code is postitive, convergence was acheived; if the return code is negative, the optimization did not converge.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

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!

Register now

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 2 replies
  • 1532 views
  • 0 likes
  • 3 in conversation