Appendix B Reference to Examples in This Book

Table B.1 lists the programs that are used in the examples in this book. The list includes the names of the macro programs for programs that define them.

Table B.1 Macro programs used in the examples in this book

Chapter

Example

Macro Program Name

Function

1

1.1

 

Define a macro variable in open code and reference its value in a WHERE statement and TITLE statement

1.2

SALES

Process an iterative %DO loop over 3 years and submit a PROC MEANS step for each year

1.3

 

Define macro variables in open code and reference them in TITLE statements, a PROC TABULATE step, and a PROC SGPANEL step

1.4

 

Reference automatic macro variables in TITLE statements

1.5

Get SAS Macro Programming Made Easy, Third Edition, 3rd 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.