I am using two macro variables to do looping.
I wrote something like
now&&a&i&&b&j._name
and I wanted it to be processed like
now&&a&i&&b&j._name
->
now&a1&b1._name
->
now10002000_name
However, sas doens't give me the result I want to have.
Is there anybody who could give me little help on solving this problem?
Thanks!
Please don't post the same question twice. Answers here: https://communities.sas.com/t5/Base-SAS-Programming/Using-two-macro-variables-with-multiple-amp-in-s...
Please don't post the same question twice. Answers here: https://communities.sas.com/t5/Base-SAS-Programming/Using-two-macro-variables-with-multiple-amp-in-s...
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.