08-23-2011 01:03 PM
I use to use a shortcut key where I could clear the log and Sas Output window at once.
F12 clear log; clear output;
Now under 9.3 this won't clear the output. Any suggestions?
08-23-2011 02:01 PM
There must be a way to string everything together and assign the bundle to a function key. I'm not on 9.3 yet, thus can't test it.
Yes, I know that a number of folks are going to be unpleasantly surprised.
10-27-2011 03:39 PM
I put this in the top of my programs, based on this thread...(not sure if it goes in a function key). Seems to do the trick...
ods html close;
DM log "OUT;CLEAR;LOG;CLEAR;" log continue ;
DM log 'next results; clear; cancel;' whostedit continue ;
ods html newfile=none;
06-12-2013 01:24 PM
I wrote a paper for SGF that outlines at least 4 ways to work with the new behavior in SAS 9.3. In my opinion, the best method is to use the "full control" method instead of a cumulative file. Of course, I like to name my files, so I'm a bit particular about where output goes and what it's named. But I do show 4 basic alternatives in the paper and, of course, there are other combos of commands, settings that will work.
The key thing to remember about the Results Viewer and 9.3 is that with HTML turned on automatically, a cumulative HTML file is created, unless you control it otherwise. While the HTML file is open for receiving output, you can clear the links/pointers that appear in the Results Viewer window, but you cannot "empty" the HTML file itself without taking some controlling action. Here's the link to the paper:
02-05-2016 04:10 PM - edited 02-05-2016 04:11 PM
I have been using
ods html close;
and it works fine, except for one thing. Before running that code, the results viewer refreshes every time a procedure is run. However, after running that code (closing the html file and opening the new one), I have to manually refresh the results viewer by clicking view > refresh. Is there a way to get SAS to automatically refresh the results viewer window like it did before I created the new html file?
I am using SAS 9.3 TS Level 1M0.