11-20-2014 09:35 PM
I have an increment issue while i am checking some code,
i have &trt in macro variable , i want them increment by j , But j value is not incremented in that loop. something is going wrong but unable to figure it out
array chk t1-t6;array ct ct1-ct6;
do i=1 to 6;
11-20-2014 10:40 PM
macro variables aren't available in the data step they're created, unless you use call symget/symput and/or You need a macro loop. Having a macro loop within a data step loop will be messy though.
Any reason to not pull the variable names out and put that into a separate array?