BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Can I use arrays in macroses and how?
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi, Ihor:
These papers are relevant to your question. You do have to know whether you need to generate a SAS Data step that uses an ARRAY vs treating a list of Macro variables LIKE (as though they were) in an array.
http://www.pnwsug.org/Conference_2004/papers/c_cc_storing_and_using_a_lis.pdf
http://www2.sas.com/proceedings/sugi29/070-29.pdf
http://www2.sas.com/proceedings/sugi22/CODERS/PAPER80.PDF

If you Google the string:
SAS Macro array
you will come up with more hits on this subject.

cynthia

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

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