Get full access to Carpenter's Complete Guide to the SAS Macro Language, Third Edition, 3rd Edition and 60K+ other titles, with free 10-day trial of O'Reilly.
There's also live online events, interactive content, certification prep materials, and more.
5.1 Macros That Invoke Macros
5.1.1 Passing Parameters between Macros
5.1.2 Passing Parameters When Macros Call Macros
5.1.3 Passing Macro Parameters through Macro Calls—An Illustrated Example
5.1.4 Controlling Macro Calls
5.1.5 Nesting Macro Definitions
5.2 Conditional Execution Using %IF-%THEN/%ELSE Statements
5.2.1 Executing Macro Statements
5.2.2 Building SAS Code Dynamically
5.2.3 Using the IN Comparison Operator
5.3 Iterative Execution of Macro Statements
5.3.1 %DO Block
5.3.2 Iterative %DO Loops
5.3.3 %DO %UNTIL Loops
5.3.4 %DO %WHILE Loops
5.4 Additional Macro Program Statements
5.4.1 Macro Comments
5.4.2 %GLOBAL and %LOCAL
5.4.4 Termination of Macro Execution with %ABORT
Get Carpenter's Complete Guide to the SAS Macro Language, Third Edition, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.
Get Mark Richards’s Software Architecture Patterns ebook to better understand how to design components—and how they should interact.