Create a modified table template Base.Univariate.Moments. The EDIT statement looks in the available template stores for a table template called Base.Univariate.Moments. By default, it first looks in SASUSER.TEMPLAT, but it finds nothing. Next, it looks in Sashelp.Tmplmst, which contains the table templates that SAS provides. Because the EDIT statement can read this template, this is the one that it uses. The program does not specify a destination for the edited template, so PROC TEMPLATE writes to the first template store in the path that it can write to, which is SASUSER.TEMPLAT. Therefore, it creates a table template of the same name as the original one in SASUSER.TEMPLAT. See the ODS PATH Statement.


(To learn the name of the table template that a procedure uses, run the procedure with the ODS TRACE ON statement in effect. See Example.


proc template;
   edit base.univariate.moments;