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

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

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