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
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?
The 2025 SAS Hackathon has begun!
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.