How do I create one combination of the following? I need to merge IN7.VAPP2201, IN8.VAPP2202 IN9.VAPP2203 .... and so forth. However this macro doesn't work in creating only one combination and the leading 0 for 'i' is removed in the output. Any help is appreciated %MACRO MERGED; PROC SQL ; CREATE VIEW MERGE AS SELECT * FROM IN1.VAPP2120 %do n=7 %to 33; %do i=01 %to 26; outer union corr select * from IN&n.VAPP22&i %end; %end;
... View more