Example 6.10. Customizing the Appearance of a Detail Report Created by PROC PRINT

Goal

Customize the appearance of the report produced in the related technique of Example 2.4. Use “traffic lighting” to draw attention to specific results in the report by setting style elements to specific colors. Send the output to a nonlisting destination.

Report

Example Features

Data SetPOWERUSE
Report ExampleRelated Technique in Example 2.4
Featured StepsPROC FORMAT PROC PRINT
Featured Step Statements and OptionsPROC FORMAT

Setting colors as value labels

ODS STYLE= options placed on these PROC PRINT statements:

PROC PRINT statement for ...

Get SAS® Guide to Report Writing: Examples, 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.