Create Printable Output

Choose Your Output Destination

HTML output is great, but what if your manager wants to print your tables? HTML output is not the best format for printable output. You can use ODS destination statements to create several types of printable output.
The best choice for printable output is the RTF and PRINTER destinations. The ODS RTF statement creates output suitable for Microsoft Word, and the ODS PRINTER destination creates printable output in three different formats: PCL, PDF, or PS (PostScript).
Let’s look at the final tabulate table created in Add a Third Dimension. Notice that no ODS statements are used.
PROC TABULATE DATA=TEMP; CLASS OCCUP GENDER SECTOR; VAR INCOME; TABLE SECTOR ALL, OCCUP, (GENDER ALL)*INCOME*MEAN*F=DOLLAR13. ...

Get PROC TABULATE by Example, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.