O'Reilly logo

SAS® Guide to Report Writing: Examples, Second Edition by Michele M. Burlew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Example 6.4. Adding “Traffic Lighting” to a Report Created by PROC REPORT

Goal

Customize the appearance of the report produced in Example 2.7 by modifying style attributes with ODS. Use “traffic lighting” to draw attention to specific results by changing the color of rows depending upon the value of a cell in the row. Send the output to a nonlisting destination.

Report

Example Features

Data SetLIPIDS
Report ExampleExample 2.7
Featured StepPROC REPORT
Featured Step Statements and OptionsPROC REPORT statement ODS option: STYLE(HEADER)=

DEFINE statement ODS option: STYLE=

CALL DEFINE statement within COMPUTE blocks
Output Destination ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required