TEMPLATE Procedure: Creating a Style Template
DEFINE STYLE Statement
Creates a style for any destination that supports
the STYLE= option. The DEFINE STYLE statement begins a DEFINE STYLE
statement block.
Syntax
Required Arguments
- style-path
-
specifies where to
store the style. A style-path consists
of one or more names, separated by periods. Each name represents a
directory in a template store.
PROC TEMPLATE writes the style to the first writable template store
in the current path.
- Base.Template.Style
-
creates a style that
is the parent of all styles that do not explicitly specify a parent.
After this template is created, you do not need to explicitly specify
it in your SAS programs. It is automatically applied to all output
until you specifically remove it from the item store.
CAUTION:
The Base.Template.Style
supplied by SAS contains inheritance information used by many styles.
If this inheritance information is not retained, some style elements
might not appear in the output. To safely create your own Base.Template.Style,
you can start with the existing Base.Template.Style template by writing
it to an external file and editing the existing template contents.
Restriction:If the PARENT= statement is specified, then PARENT= must
refer to a style other than Base.Template.Style.
Interaction:The Base.Template.Style master template attributes
are overridden by other style templates.
Optional Argument
- STORE=libref.template-store
-
specifies the template
store in which to store the style. If the template store does not
exist, then it is created.
Restriction:The syntax of the STORE= option does not become part
of the compiled template.
Copyright © SAS Institute Inc. All rights reserved.