Above we used the listing option. We can save ouput to the rtf and pdf destinations as well. The defualt destination is the html destination, which is the output that you normally see inside SAS.
RTF stands for Rich Text Format and is similar to a Word document. When using ODS RTF there are a few common options
- FILE - Specifies the location and name of the output file
- BODYTITLE - puts titles and footnotes in the main part of the document and not in the header
- COLUMNS = n - creates a column formatted output file with n columns
- SASDATE - date and time appear at top of document
- STARTPAGE = value - Determines page breaks in the output file. (NO = no page break, NOW = pagebreak at that point)
- STYLE = style-name - style template for output
The ODS PDF destination saves the output into a pdf document. The most common options are shared with ODS RTF including FILE, COLUMNS, STARTPAGE, and STYLE.