To copy a template from
one catalog to another catalog, specify
template-catalog as the source catalog. To copy NEWTEMP.TEMPLATE from the catalog
named ONE.TEMPLT to the catalog named TARGET.TEMPLT submit the following
statements:
LIBNAME target "SAS-data-library";
LIBNAME one "SAS-data-library";
proc greplay nofs;
tc target.templt;
tcopy one.templt.newtemp.template;
quit;
To create a duplicate
of a template, simply omit
template-catalog from your TCOPY statement. For example, to create a duplicate of
a template named NEWTEMP within the TEMPLAT catalog, submit the following:
tcopy newtemp.template;