Search code examples
sassas-ods

Hide 'by' group titles in ODS output


I'm trying to hide the titles for each by group in my ODS output. Code:

ods noproctitle;
ods html ;

proc sort data=sashelp.class out=class;
  by sex;
run; 

proc freq data=class;
  by sex;
  tables sex / list;
run; 

Specifically, the titles I'm trying to hide are:

Sex=F

and

Sex=M


Solution

  • Look at the BYLINE/NOBYLINE option.

    options nobyline;
    

    Here's the documentation reference http://support.sas.com/documentation/cdl/en/lesysoptsref/69799/HTML/default/viewer.htm#n1hr2wb7h5g6twn1gtt5r4zjsg39.htm