Apply operations to selected numeric and character variables in a data set by using arrays without explicitly listing all the variables' names.
|Featured Step||DATA step|
|Featured Step Options and Statements||ARRAY statement, _NUMERIC_ and _CHARACTER_ lists|
Data set GLUCOSE records several glucose measurements at different times for four patients. The data set has allocated four variables to hold the evaluations of the four glucose results. When this data set is created, the evaluations are not completed and are coded with question marks (?).
GLUCOSE patient_ glucose_ eval_ glucose_ glucose_ glucose_ Obs id fast fast 1hr eval_1hr 2hr eval_2hr 4hr ...