Chapter 5: CALL SYMPUT

5.1 Leading and Trailing Blanks

5.2 A Similar Lesson, Using Recursion

5.3 Test Your Skill

5.3.1 Programming Challenge #4a

5.3.2 Solution

5.3.3 Programming Challenge #4b

5.3.4 Solution

5.3.5 Programming Challenge #4c

5.3.6 Solution

5.4 Function Shifts in the Real World

5.5 A Key Issue: Extra Blanks

A macro variable that is only two characters long can take on 65,536 different values. When the length of a macro variable reaches 65,534 characters, the number of values reaches a staggering level: 256 ** 65,534. With so many possible values, some of them would certainly cause trouble if they found their way into a program. And CALL SYMPUT is the best tool for causing such trouble. It can assign any conceivable value to a macro ...

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.