Chapter 6: Interfacing with Data Set Values
6.1 Using the SYMPUTX Routine to Create Macro Variables
6.1.1 Introducing SYMPUTX Syntax
6.1.2 Comparing SYMPUTX with SYMPUT
6.1.3 Using a Macro Variable in the Same Step That Created It
6.1.4 Building a List of Macro Variables
6.2 Defining Macro Variables in a PROC SQL Step
6.2.1 Placing a Single Value into a Single Macro Variable
6.2.2 Building a List of Values
6.2.3 Placing a List of Values into a Series of Macro Variables
6.2.4 Understanding Automatic SQL-Generated Macro Variables
6.3 Moving Text from Macro Variables into Code
6.3.1 Assignment and RETAIN Statements
6.3.2 SYMGET and SYMGETN Functions
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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.