Skip to Main Content
Learning SAS by Example
book

Learning SAS by Example

by Ron Cody
July 2018
Beginner content levelBeginner
536 pages
12h 32m
English
SAS Institute
Content preview from Learning SAS by Example

Chapter 25: Introducing the SAS Macro Language

25.1  Introduction

25.2  Macro Variables: What Are They?

25.3  Some Built-In Macro Variables

25.4  Assigning Values to Macro Variables with a %LET Statement

25.5  Demonstrating a Simple Macro

25.6  Describing Positional and Keyword Macro Parameters

25.7  A Word about Tokens

25.8  Another Example of Using a Macro Variable as a Prefix

25.9  Using a Macro Variable to Transfer a Value between DATA Steps

25.10  Problems

 

25.1  Introduction

Although the SAS macro language is usually thought of as an advanced topic, there are aspects of this language that are useful and easy to use, even to the beginning or intermediate SAS programmer. This chapter gives you the tools to use macro variables and write ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning SAS by Example

Learning SAS by Example

EdD Ron Cody
SAS in Practice

SAS in Practice

Ekta Saraogi
SQL for Data Analysis

SQL for Data Analysis

Cathy Tanimura

Publisher Resources

ISBN: 9781635266566