The SAS Output Delivery System and reporting techniques

ODS NOPROCTITLE;

Reply
Valued Guide
Posts: 765

ODS NOPROCTITLE;

Hi ... to get rid of the text "The FREQ Procedure", "The MEANS Procedure", etc. on procedure output, I use ...

ods noproctitle;

That gets rid of that text even if I am producing output in the OUTPUT window in display manager mode in Windows, Normally, control of the OUTPUT window is done with OPTIONS statements, not ODS statements.

So, the question is ... is ALL procedure output "orchestrated" by ODS, even when writing to the OUTPUT window with no ODS destinations specified?

This is just a "curiousity" question. Thanks.
SAS Super FREQ
Posts: 8,740

Re: ODS NOPROCTITLE;

Hi, Mike:
Yes, what we have lovingly called the LST or LISTING or Output Window all these years became "The LISTING Destination" in ODS land -- back in SAS version 7.

When the transition was made from the "old way" of creating LISTING output (output line by output line written from SAS to the SYSOUT or Output Window or LST file) to the "new way" of creating output, the LISTING destination is the name given to what old-timers like me called the Output Window. The Results Window in Display manager has hooks into ODS, too. You can use the ODS PROCLABEL statement to alter the top level node you see in the Results Window.

You can close or, if closed, open the LISTING destination with
[pre]
ODS LISTING CLOSE; /*closes*/
ODS LISTING; /* opens if closed */
[/pre]

So, yes, ODS statements will impact the LISTING destination (aka Output Window).

One of the exciting new features of SAS 9.2, is that you can do this:
[pre]
ODS LISTING STYLE=WATERCOLOR;
[/pre]

and that tells SAS/GRAPH what style template to use in the creation of Graph output (as long as you have 9.2 and the GSTYLE option is turned on) -- for device-based procedures such as GCHART and GPLOT.

cynthia
Valued Guide
Posts: 765

Re: ODS NOPROCTITLE;

hi ... thanks

thinking of this in the context of ODS LISTING makes it easy to understand

(I should have thought of that !!!)
Super Contributor
Posts: 273

Re: ODS NOPROCTITLE;

For me , i am quasi sure that ods is 'the master'
without any ods instruction , you are in a ods listing destination

not only noproctitle may act but also noresults...
until you restore it

[pre]
ods noresults;*ods results off;
ods listing;
ods noproctitle;
proc freq data=sashelp.class;table sex;run;
run;
ods _all_ close;
ods results;* ods results on;
*you need to reopen a destination;
ods listing;
proc freq data=sashelp.class;table sex;run;
run;

[/pre]

more
in matter of graphics
you have now ods graphics on;... ods graphics off;
that is acting even if you are not using other ods instuctions

Andre
Ask a Question
Discussion stats
  • 3 replies
  • 1701 views
  • 0 likes
  • 3 in conversation