Skip to Content
Carpenter's Complete Guide to the SAS REPORT Procedure
book

Carpenter's Complete Guide to the SAS REPORT Procedure

by Art Carpenter
February 2013
Intermediate to advanced
490 pages
14h 35m
English
SAS Institute
Content preview from Carpenter's Complete Guide to the SAS REPORT Procedure
300 Carpenter’s Complete Guide to the SAS REPORT Procedure
8.10 Adding Text through the TEXT= Option
The TITLE and FOOTNOTE statements can add text to tables generated by SAS procedures, and
when using PROC REPORT, you also have the LINE statement to add text to the table. You can
also add text directly by using the TEXT= option on the ODS statement.
ods pdf file="&path\results\ch8_10.pdf"
startpage=no
text='Example 8.10';
title1 'Sales Summary';
proc report data=sashelp.prdsale(where=(prodtype='OFFICE'))
nowd;
. . . Portions of the code are not shown . . .
In this example, the text is inserted into the table after any title lines. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Carpenter's Guide to Innovative SAS Techniques

Carpenter's Guide to Innovative SAS Techniques

Art Carpenter
SAS ODS Graphics Designer by Example

SAS ODS Graphics Designer by Example

Sanjay Matange, Jeanette Bottitta

Publisher Resources

ISBN: 9781599944272