I have a very simple question to which there is probably an obvious answer,... but it keeps eluding me. Maybe someone can help?
The question is this...
I define a period, say
%let analysis = y_1005 -- y_1143;
where y_1005 define some variables going from year 2010 week 5 to year 2011 week 43. Then from this I define an array
array period(*) &analysis;
Now I would like to define a second array with the same dimension as the first array, and I figure there is a smart way to do that, such as
array new_array(dim(period));
But this obviously not work. I have tried various things, but I can't get it to work. How is it possible to call "dim(period)" within the creation of an array, or to do this some other way?
array period(*) y_1005 - y_1143
includes a lot of extra variable names that you do not need, such asy_1053, y_1054, ..., y_1099, y_1100, ...