TEMPLATE Procedure: Managing Template Stores

Overview: Template Stores

What Is a Template Store?

A template store is an item store that stores items that were created by the TEMPLATE procedure. Items that SAS provides are in the item store Sashelp.Tmplmst. You can store items that you create in any template store where you have Write access.
Note: A template store can contain multiple levels known as directories. When you specify a template store in the ODS PATH statement, however, you specify a two-level name that includes a libref and the name of a template store in the SAS library that the libref references.

Why Use the TEMPLATE Procedure to Manage Template Stores?

You can use the TEMPLATE procedure to manage and navigate the template stores that store the items that SAS supplies or that you create. The TEMPLATE procedure enables you to perform the following management tasks for the template stores:
  • delete column templates, header templates, footer templates, styles, table templates, or tagsets
  • list items in one or more template stores
  • view the source code of column templates, header templates, footer templates, styles, table templates, or tagsets
  • test the most recently created item
You can navigate around the template stores by doing the following:
  • create links to existing items
  • specify which locations to write to or read from when you create or use PROC TEMPLATE items, and specify the order in which to search for them