Chapter 1: SAS Language Preparation
1.1.1 Programming Challenge #1
Macro language is useless unless you can visualize the SAS program that results. So we begin by examining the three learning steps and how they apply using the SAS language. This chapter emphasizes simplicity, keeping current, and experimentation.
1.1 Keep It Simple
Perhaps you have never seen:
• A one-page macro to perform character-to-numeric conversion (instead of using the INPUT function)
• A multi-page program to present three-dimensional tables in two dimensions (instead of using the LIST option within PROC FREQ).
Unfortunately, such complex programs exist. Make a point of simplifying your ...
Get SAS Macro Language Magic 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.