When I searched, all the results came up for SAS 9.3. That suggested I use the commands:
ods html close; *STOPS WRITING TO THE CURRENT RESULTS VIEWER;
ods html; *OPENS A NEW RESULTS VIEWER;
I'm running SAS 9.4 (Base SAS) and this doesn't work for me, which leads me to the conclusion that the way to clear the results viewer has changed from SAS 9.3 to SAS 9.4.
What to do?
I believe you need to run the following:
or just type
odsresults;clear
in the SAS command box. This works for me in 9.3, can't see why it would be different in 9.4.For further info - http://support.sas.com/kb/4/159.html