Hello all,
I have 10 datasets going from input1 to input10. Then I want to transform them to iml data so I can do complex matrix calculations. The problem is that I can loop over the datasets with &i. as the variable suffix part. But I do not know how to loop over them when they are iml data, is it possible to do this in iml or is it just not possible?
proc iml;
%MACRO DO_BRANCH;
%do i=1 %to 10;
use input&i.;
read all var _ALL_ into imlData&i.[colname=varNames];
close input&i.;
%end;
%end;
%MEND DO_BRANCH;
%DO_BRANCH;
%The code below does not work !!
do i =1 to 10;
imlData&i.[1,1] = assign a new complex value (not important);
end;
If anybody knows the answer please tell me :), thank you all!