Chapter 1
Introduction to the Macro Facility
Getting Started with the Macro Facility
Replacing Text Strings Using Macro Variables
Generating SAS Code Using Macros
Macro Definition Containing Several SAS Statements
Passing Information into a Macro Using Parameters
Conditionally Generating SAS Code
More Advanced Macro Techniques
Generating Repetitive Pieces of Text Using %DO Loops
Getting Started with the Macro Facility
This document is the macro facility language reference for SAS. It is a reference for the SAS macro language processor and defines the SAS macro language elements. This section introduces the SAS ...
Get SAS 9.4 Macro Language, 2nd 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.