Overview
Introduction
Because the macro facility
performs its tasks before SAS programs execute, the information that
the macro facility supplies does not depend on values that are accessed
or computed during the execution of a SAS program. However, sometimes
it is necessary to access or create macro variables during the execution
of a SAS program. There are several methods that enable the macro
facility to create or access macro variables at execution time. In
this chapter, you learn to use macro variables during execution of
the following:
-
a DATA step
-
a PROC SQL step
-
an SCL program.
Get SAS Certification Prep Guide, 4th 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.