Usage Note 23449: How can I copy an ODS template from one library to another?
To copy the entire template store, use the COPY procedure.
To copy individual templates, use the TEMPLATE
procedure. There are a couple of ways to
do this.
- Use the ODS PATH statement to set the path of the template
store that you want to write to. The EDIT statement makes
an exact copy with the same name and stores it in the Work.Templ
template store.
ods path work.templ(update) sashelp.tmplmst(read);
proc template;
edit styles.default;
end;
run;
- Use the STORE= option in Version 8 to specify the
template store that you want to save the definition to. If the template
store does not exist, then it is created.
proc template;
define style styles.test / store=work.templ;
parent=styles.default;
end;
run;
proc template;
link styles.test to styles.default / store=work.templ;
quit;
See also the full PROC TEMPLATE FAQ and Concepts.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> ODS (Output Delivery System) Data Management ==> Administration
|
| Date Modified: | 2007-10-04 14:54:35 |
| Date Created: | 2003-09-30 11:56:54 |