Statistical Graphics Using ODS |
Reverting to the Default Templates |
Customized templates are stored in SASUSER.Templat or in some other template library that you create. The templates supplied by SAS are in the read-only template library SASHELP.Tmplmst. If you have modified any of the supplied templates and you want to use the original default templates, you can change your ODS path as follows:
ods path sashelp.tmplmst(read) sasuser.templat(update);
This way the default templates are found first. Alternatively, you can save all of your customized templates in a user-defined template library (for example WORK.Mystore). To access these templates, you submit the following statement before running your analysis:
ods path mylib.mystore(update) sashelp.tmplmst(read);
When you are done, you can reset the default ODS path as follows:
ods path reset;
This restores the ODS path to its original state (sasuser.templat(update) sashelp.tmplmst(read)). You can also save your customized template as part of your SAS program. You can delete it from the SASUSER.Templat template library when you are done, as in the following statements:
proc template; delete Stat.REG.Graphics.ResidualPlot; run;
The following note is printed in the SAS log:
NOTE: 'Stat.REG.Graphics.ResidualPlot' has been deleted from: SASUSER.TEMPLAT
You can run the following step to delete the entire SASUSER.Templat library of customized templates:
ods path sashelp.tmplmst(read); proc datasets library=sasuser; delete templat(memtype=itemstor); run; ods path sasuser.templat(update) sashelp.tmplmst(read);
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.