BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Can I use arrays in macroses and how?
1 REPLY 1
Cynthia_sas
Diamond | Level 26
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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

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
  • 1153 views
  • 0 likes
  • 2 in conversation