实例如下:
ods rtf file = "C:\demo.rtf" style = journal ;
proc report data = sashelp.class nowd ;
column sex age height ;
define sex / display style(column,header) = {outputwidth = 33%} ;
define age / display style(column,header) = {outputwidth = 33%} ;
define height/ display style(column,header) = {outputwidth = 33%} ;
run ;
ods rtf close ;