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...
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.