Data set have has some columns with prefix Dex. But I don't know how many columns exactly with that prefix.
I want to create an array with values equal to those columns.
data want;
set have;
array Dex[100];
for i = 1 to 100;
[assign values]
end;
run;
Is there a way to do this without knowing those columns' names?