Good idea. SYMGET would work nicely here. You could use a DATA step DO loop (containing an OUTPUT statement) instead of a macro loop.
Also note, you will need to pay attention to the lengths of the variables. SYMGET handles that automatically, creating character variables that are $200 long. My code uses the length of the first prompt entered, which may be too short for later prompts.
... View more