This END statement ends the table definition. The RUN statement ends the PROC TEMPLATE step.
   end;
run;