O'Reilly logo

SAS® Macro Programming Made Easy, 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

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

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