Chapter 7 Macro Expressions and Macro Programming Statements

Introduction

Macro Language Statements

Constructing Macro Expressions

Understanding Arithmetic Expressions

Understanding Logical Expressions

Understanding the IN Operator As Used in Macro Language Statements

Conditional Processing with the Macro Language

Iterative Processing with the Macro Language

Writing Iterative %DO Loops in the Macro Language

Conditional Iteration with %DO %UNTIL

Conditional Iteration with %DO %WHILE

Branching in Macro Processing

 

Introduction

This chapter presents information about macro expressions and macro language statements, and it shows you how to accomplish several programming techniques with them. This chapter also shows you how to construct expressions ...

Get SAS Macro Programming Made Easy, Third Edition, 3rd 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.