Example 6.14. Defining a Reusable Generic Style

Goal

Define a style that will be used repeatedly. Apply this style to a report. Add additional style attributes specific to this report. Send the report to a nonlisting destination.

Report

Example Features

Data SetCUSTRESP
Report ExampleExamples 3.10 and 6.13
Featured Steps and StatementPROC TEMPLATE

PROC TABULATE

ODS statement
Featured Step Statements and OptionsPROC TEMPLATE

DEFINE STYLE, PARENT=, REPLACE, and STYLE statements

Inline formatting

ODS statement: ESCAPECHAR=, STARTPAGE=, and STYLE= options

ODS STYLE= options placed on the PROC TABULATE TABLE statement, including the BOX= option ...

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.