An array name is assigned to the set of variables and then the array name is referenced in later DATA step programming usually a. DO loop
One way is to use SAS ARRAYs and DO loops. SAS ARRAYS. A SAS ARRAY is a set of variables of the same type that you want to perform the same operation
We've looked at how to assign arrays but how do we tell SAS to look up the array values? To reference an array member
However if you have ever copied SAS code that performs the same operation to create multiple new variables
5 may 2016 Arrays and Do loops have been used for years by SASĀ® programmers who work with diagnosis fields in health-care data and the opportunity to ...
https://support.sas.com/resources/papers/proceedings/pdfs/sgf2008/179-2008.pdf
One way is to use SAS ARRAYs and DO loops. SAS ARRAYS. A SAS ARRAY is a set of variables of the same type that you want to perform the same operation on.
This workshop covers when ARRAY statements and DO loops can and should be used how to set up an ARRAY statement with and without specifying the number of array
Included are examples of DO and ARRAY statement shortcuts and 'extras' the DOW loop
Customer Segmentation by Using CALL SYMPUT Arrays and DO Loops. Rodger Zhang