BookmarkSubscribeRSS Feed
blueskyxyz
Lapis Lazuli | Level 10
***style;
title;
footnote;

ods rtf file="...\class.rtf" style=journal;
proc report data=sashelp.class;
	where age<=12;
	column name sex age height weight;

      compute before _page_ ;
		line "title1" ; 
      endcomp;

       compute after _page_ ;
		line "foot1"; 
      endcomp;

run;

title;
ods rtf close;

捕获.JPG

1 REPLY 1
Reeza
Super User

Use the STYLE options and some guess and testing shows this works: 

 

proc report data=sashelp.class 
style(lines) = [bordertopcolor=white borderbottomcolor=white];

Documentation reference with all the options for styling

 


@blueskyxyz wrote:
***style;
title;
footnote;

ods rtf file="...\class.rtf" style=journal;
proc report data=sashelp.class;
	where age<=12;
	column name sex age height weight;

      compute before _page_ ;
		line "title1" ; 
      endcomp;

       compute after _page_ ;
		line "foot1"; 
      endcomp;

run;

title;
ods rtf close;

捕获.JPG


 

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 2725 views
  • 3 likes
  • 2 in conversation