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.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 7199 views
  • 3 likes
  • 5 in conversation