Chapter Contents |
Previous |
Next |
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 |
See also: | Duplicate Entry Names |
Details |
To copy a template from another catalog to the template catalog, specify template-catalog as the catalog from which the template should be copied. For example, if you want to copy NEWTEMP.TEMPLATE from the catalog named ONE.TEMPLT to the catalog named TARGET.TEMPLT, use 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 copy of a template, simply omit template-catalog from your TCOPY statement. For example, to create a duplicate copy of a template named NEWTEMP within the template catalog, you could use the following statement:
tcopy newtemp.template;
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.