BookmarkSubscribeRSS Feed
odmhx
Calcite | Level 5
Here is my question.

I 'compute' after the rbreak/page, and list all the summary lines in one last page. But I don't want to have the report column headers shown on this page. Any suggestions?

Thanks a lot,
2 REPLIES 2
Cynthia_sas
SAS Super FREQ
Hi:
Although PROC REPORT has a NOHEADER option, it does apply to the entire report -- so you can not suppress headers only on the last page of the report. However, you could selectively use NOHEADER to put a separate PROC REPORT step at the end of your report without the headers. Something like what's shown below...there's no compute block, since this was a simple NOHEADER example.

cynthia
[pre]
ods html file='nohead.html' style=sasweb;
ods rtf file='nohead.rtf' startpage=no;

proc report data=sashelp.class nowd;
title 'Average Height by Gender and Age';
column age sex height;
define age / group;
define sex / group;
define height / mean;
run;

proc report data=sashelp.class noheader nowd;
title 'Average Height by Gender';
column sex height;
define sex / group;
define height /mean;
run;

proc report data=sashelp.class noheader nowd;
title 'Average Height by Age';
column age height;
define age / group;
define height / mean;
run;

ods _all_ close;
[/pre]
odmhx
Calcite | Level 5
Thank you so much. I forgot about this

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 905 views
  • 0 likes
  • 2 in conversation