From Muggles to Macros: Transfiguring Your SAS Programs with Dynamic, Data-Driven Wizardry
September 23, 2025: 2:30 PM - 3:30 PM
Intermediate and Advanced Coding Skills (IACS), Breakout Room #9

Authors Abstract
Josh Horstman, Richann Watson The SAS® macro facility is an amazing tool for creating dynamic, flexible, reusable programs that can automatically adapt to change. This presentation uses a series of examples to demonstrate how to transform static "muggle" code full of hardcodes and data dependencies by adding macro language magic to create data-driven programming logic.  Don't hardcode data values into your programs. Cast a vanishing spell on data dependencies and let the macro facility write your SAS code for you!