Viewing the List of Styles Provided by SAS

You can view the styles that SAS provides using the TEMPLATE procedure or through the Templates window.

Using the TEMPLATE Procedure

To view the list of all styles available, submit the following code:
proc template;
     list styles;
run;
SAS writes the list of available styles in the Output window.

Using the Templates Window

To view the list of all styles available, follow these steps:
  1. Open the Templates window. You can open the Templates window in two ways:
    • Enter the odstemplates command on the SAS command line.
    • In the Results window, select the Results folder. Right-click and select Templates to open the Templates window.
    The Templates window contains the item stores Sasuser.Templat and Sashelp.Tmplmst.
  2. Double-click an item store, such as Sashelp.Tmplmst, to expand the list of directories where ODS templates are stored. The templates that SAS provides are in the item store Sashelp.Tmplmst.
  3. Double-click Styles to view the list of styles defined in the selected item store.
  4. Double-click the style definition that you want to view. For example, the Default style definition is the template store for HTML output. Similarly, the Rtf style definition is the template store for RTF output.
To view the actual style definition, double-click on a style name. The style definition is displayed in the Template Browser window.