The following example creates an RTF file in which the headers and contents of the row
and column headings are rotated within the table.
Program
options orientation=landscape nodate nonumber;
ods html close;
ods tagsets.rtf file='Mrotate.rtf'
OPTIONS (TRHDR='\trrh750'
TROWHDRCELL='\cltxbtlr'
TROWD='\rtlrow');
proc print data=Sashelp.Class(obs=5);
run;
ods tagsets.rtf close;
ods html;
Program Description
Specify the orientation of the page. The ORIENTATION option sets the page to
landscape. The NODATE option turns off the output of the date and time. The
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.