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?
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.
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.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.