If you want to dynamically set the number of items in an array you can call a macro variable as follows in the array statement. %let periods = 99; data xxxx..... array personnel_expense {*} personnel_expense1 - personnel_expense%eval(&periods); run;
... View more