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
Diamond | Level 26
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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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