SAS provides definitions (templates) for these items:
tables
styles
tagsets
To view the contents of a definition (template), you can use the SAS windowing environment, the SAS window command odstemplates , or the TEMPLATE procedure.
SAS Windowing Environment
From the SAS Explorer, select
View – Results
In the Results window, select the Results folder. Right click to open the Templates window.
To view the definitions (templates) that SAS supplies, click on the plus sign that is next to the SASHELP.TMPLMST item store.
Click on the plus sign that is next to an icon to view the contents of that template store or directory in a template store. If there is no plus sign next to the icon, double click the icon to view the contents of that directory.
Display 8.1: Definitions (Templates) that SAS Supplies
SAS Windowing Command
To view the Templates window, submit the following command in the command bar:
odstemplates
The following display shows the Templates window that contains the item stores Sasuser.Templat and Sashelp.Tmplmst .
When you double-click an item store, such as Sashelp.Tmplmst , that item store expands to list the directories where ODS templates are stored. The templates that SAS provides are in the item store Sashelp.Tmplmst.
Display 8.2: Odstemplates Command
TEMPLATE Procedure
The SOURCE statement writes the source code for the specified definition to the SAS log. For example, if you want to view the source for all the objects in Base SAS, submit the following code.
proc template; source base; run;
Note: For more information, see 'SOURCE Statement' on page 277