Dear all,
I am conducting simulations and for some iterations I got a warning message because the model does not converge. In these cases I have to repeat the iteration because I want to reach 10000 iterations without any warning.
To do such a thing I was thinking to use the macro variable SYSWARNINGTEXT but I found that this macro is not updated until the next warning message, so I can not detect when after a model with a warning message I have a correct one.
For example:
data a;
set doesnotexist;
run;
%put &SYSWARNINGTEXT;
data b;
set _NULL_;
run;
%put &SYSWARNINGTEXT;
Any idea?
Many thanks,
Juanvte.