BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
ballardw
Super User

Not sure what the ODS text is for but see if this helps at all. Removed the cell widths as @Cynthia_sas suggests to get the content first then play with appearance.

options nodate validvarname=any; 
ods rtf file="&out.\&a..rtf";
proc report data=front_page noheader center;
run;
ods escapechar='^';

ods rtf columns=4;

options papersize=letter topmargin=.5in rightmargin=.5in leftmargin=.5in
proc report data=final 
style(report)={cellpadding=3px}
style(column)={font_size=8pt};
column order spid;
define order /display "xxxxx to select the xxxxxxxx" STYLE (HEADER) = {JUST=C };
define spid /display "xxxxxxxx xxxxxx from the xxxxxxx list of the xxxx" STYLE (HEADER) = {JUST=C };
run;
ods rtf close;
sah_biostat
Fluorite | Level 6

@ballardw ,

As suggested,I have checked by giving ods rtf columns=4 statement yes it is working now need to change the font settings of the column headers.

 

Thank you so much for investing your valuable time

 

sah_biostat
Fluorite | Level 6

Thanks for your time everyone. Inputs from @Cynthia_sas and @ballardw helps me to get the desired output.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 17 replies
  • 7980 views
  • 3 likes
  • 5 in conversation