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 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 5146 views
  • 3 likes
  • 5 in conversation