The GREPLAY Procedure |
Requirements: | Assign a template catalog before using the TCOPY statement. |
See also: | TC Statement. |
TCOPY <template-catalog.>template-entry<.TEMPLATE>; |
Required Arguments |
identifies the template entry to be copied.
is the catalog entry type. Duplicate entry names are resolved as described in Duplicate Entry Names.
Details |
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;
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.