Appendix D. Reference to Programs in This Book

Table D.1 lists the programs that are used in the examples in this book. Macro program names for programs defining macro programs are included.

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

Chapter

Program

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.3a and 1.3b

 

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

1.4

 

Reference automatic macro variables in TITLE statements

1.5

DAILY

Process two PROC MEANS steps, one done only if automatic macro variable ...

Get SAS® Macro Programming Made Easy, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.