Help using Base SAS procedures

SAS results viewer

Reply
New Contributor
Posts: 3

SAS results viewer

Hi

I have a thought, when I use proc print, I get the result in the sas viewer output window, but when I continue to use other features such as proc freq the output window is not cleared away from the old runs. is there any way that the old information disappears before the latest code prints out?

Thanks

/N

Frequent Contributor
Posts: 97

Re: SAS results viewer

hi,

Please try this....

dm 'log;clear;output;clear;';

OR

'odsresults;select all;clear';

Regards

Allu..

New Contributor
Posts: 3

Re: SAS results viewer

Posted in reply to allurai0412

Hi,

Your suggestions dm 'log;clear;output;clear;';

clear the log window, but the html file (SAS results viewer) shows still the old runs.

/N

New Contributor
Posts: 3

Re: SAS results viewer

it works now :-)

if i use :

html close;

html newfile=none;

SAS Super FREQ
Posts: 8,868

Re: SAS results viewer

Hi:

  Here is a paper (http://support.sas.com/resources/papers/proceedings12/250-2012.pdf) that outlines some different ways of working with the Results Viewer behavior. Perhaps it will put everything in perspective, including some other NEWFILE= options, like NEWFILE=PROC.

cynthia

New Contributor
Posts: 3

Re: SAS results viewer

Posted in reply to Cynthia_sas

What I haven't seen is a solution to turn this:

  ods html newfile=proc;

into a definition for keys. Is there code for that to replace "clear log; clear out; submit" ?

Thinking of going back to old output until there is a fix for that...

Thanks!

Ask a Question
Discussion stats
  • 5 replies
  • 469 views
  • 0 likes
  • 4 in conversation