So you are encountering an issue that a single line in a SAS programs has size limitations. I doubt you can control that, although perhaps someone wiser than myself will come along. In the meantime, consider ...
Somewhere, somebody has to come up with those 1514 values. Why not put them in a DATA set instead of a macro variable? If you really need the array, you can get the values from a data set into an array. For example, suppose you have a data set named all1514values, containing a variable named variable_name_from_all1514values:
data want;
array num1514 {1514} _temporary_;
if _n_=1 then do i=1 by 1 until (done);
set all1514values end=done;
num1514{i} = variable_name_from_all1514values;
end;
set have;
**** then process from the array as needed;
run;
... View more