Changing PROC REPORT Row Style Attributes

To change the style attributes of a column of a PROC REPORT table, you can use a STYLE= option in the DEFINE statement that builds the column. To change the style attributes of a row, you use a different technique. This example shows how to modify the row style attributes to create rows of alternating colors. This can make your table much easier to read.

In addition to using the STYLE= option in the DEFINE statement, you can use a CALL DEFINE statement inside a COMPUTE statement. This enables you to call up the row style element and modify its attributes. The CALL DEFINE statement has three parameters: the name of the element being modified (_ROW_), the description of what is being modified (STYLE), ...

Get Output Delivery System: The Basics and Beyond 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.