BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Sejin
Obsidian | Level 7

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!

1 ACCEPTED SOLUTION
1 REPLY 1
How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 677 views
  • 0 likes
  • 2 in conversation