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...
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.