Execute the function for each row in the DATA step.


options cmplib = (sasuser.ds);
data numbers2;
   set numbers;
   array a[5];
   array t[5]_temporary_;
   do i = 1 to 5;
      t[i] = a[i];
   end;
   call standardize(t, 0, 1);
   do i = 1 to 5;
      a[i] = t[i];
   end;
   output;
run;

data numbers;
       drop i j;
       array a[5];
       do j = 1 to 5;
          do i = 1 to 5;
             a[i] = ranuni(12345) * (i+123.234);
         end;
          output;
       end;
    run;