Create RTF output using the ODS TAGSETS.RTF statement and rotate the rows and header information in the table. The ODS TAGSETS.RTF statement opens the RTF destination and creates RTF output that will be sent to the Mrotate.rtf file. The three options allow you to manipulate the row and header descriptions. TRHDR enables change to the table row headers. In this example, the RTF string that is specified adds more space to the row headers. TROWHDRCELL allows you to manipulate the table-row cell information. In this case, the information is rotated to vertical. The TROWD option allows you to change the table row description. The RTF string specified changes the first table row to the rightmost row.


ods tagsets.rtf file='Mrotate.rtf'
OPTIONS (TRHDR="\trrh750"
         TROWHDRCELL="\cltxbtlr"
         TROWD="\rtlrow");