%macro namer;
%do i = 1 %to 3; /* Number of Dupout sets */
Data DupOut&i;
Set DupOut&i;
Rename VARA = VARA&i;
Rename DATAVAL = DATAVAL&i;
Run;
%end;
%mend;
Illustrated, what this macro accomplishes is the following:
In the next article, we will review the final macro, and the last step required to re-assemble the data set.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.