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.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 ...

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