Title "Height and Weight by Gender and Age"; proc report nowd data=sashelp.class style(header)=[background=white]; col age (('gender' sex),(weight height)); define age / style(header)=[background=lightgreen]; define sex / across style(header)=[background=yellow] ' '; define weight / style(header)=[background=orange]; define height / style(header)=[background=tan]; run;
options obs=10 nodate; ods pdf file="myPdf.pdf" style=Banker; ods rtf file="myRTF.rtf" style=BarrettsBlue text="RTF Output"; proc print data=sashelp.class; run; proc contents data=sashelp.class; run; ods pdf close; ods rtf close;
Category
|
Destinations
|
Results
|
---|---|---|
Formatted by SAS
|
DOCUMENT
|
ODS document
|
LISTING
|
SAS LISTING output
|
|
OUTPUT
|
SAS data set
|
|
Formatted by a Third
Party
|
EPUB
|
Output formatted for
e-book readers
|
EPUB3
|
Output formatted for
e-book readers
|
|
HTML
|
HTML file for online
viewing
|
|
MARKUP
|
Markup language tagsets
|
|
POWERPOINT
|
PowerPoint slides
|
|
PRINTER
|
Printable output in
one of three different formats: PCL, PDF, or PS (PostScript)
|
|
RTF
|
Output written in Rich
Text Format for use with Microsoft Word 2000
|