Chapter 2

SAS Macro Processing

Chapter Overview

2.1 Introduction

2.2 Introduction to SAS Macro Language and Ground Rules

2.3 Writing Macro Programs to Automate Tasks

2.4 Accessing Macros from Macro Libraries

2.5 Creating Macro Variables to Store and Replace Text

2.6 Referencing Macro Variables to Substitute Text

2.7 The Art of SAS Macro Testing

2.8 Section Summary

2.9 Powerful SAS Macro Quoting Functions

2.1 Introduction

This chapter is organized to facilitate easy searching of key points by summarizing and differentiating the syntax between similar SAS statements and options. The basic syntax for SAS macro processing will be explained and illustrated ...

Get Sharpening Your Advanced SAS Skills 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.