The first END statement ends the editing of the the table element head. The second END statement ends the editing of the table base.univariate.moments.
     end;
   end;
run;