An Introduction to the Macro Facility
The macro facility in the SAS System gives you extra functionality, more programming tools and a high level language for controlling Data Steps and Proc Steps. With the macro facility, you can pass values from step to step in normal SAS code, you can create bundles of SAS code to automate your work, and you can set up mechanisms for conditionally executing your SAS code. This paper introduces the macro facility and provides some basic SAS macro examples.