TEMPLATE Procedure: Overview |
PROC TEMPLATE;
|
DEFINE COLUMN column-path </
STORE=libref.template-store>;
|
<column-attribute-1;
<...column-attribute-n;>>
|
|
|
DEFINE
FOOTER footer-path </ STORE=libref.template-store>;
|
<footer-attribute-1;
<...footer-attribute-n;>>
|
|
|
DEFINE
HEADER template-name </ STORE=libref.template-store>;
|
<header-attribute-1;
<...header-attribute-n;>>
|
|
|
DEFINE
STYLE style-path </ STORE=libref.template-store>;
|
|
DEFINE
TABLE table-path </ STORE=libref.template-store>;
|
<table-attribute-1;
<...table-attribute-n;>>
|
|
|
DEFINE
TAGSET tagset-path </ STORE=libref.template-store>;
|
<event-attribute-1;
<...event-attribute-n;>>
|
|
|
DEFINE
CROSSTABS table-path </
STORE=libref.template-store>;
|
|
DEFINE
STATGRAPH graph-path </
STORE=libref.template-store>;
|
|
DELETE
template-path </ STORE=libref.template-store >;
|
|
EDIT template-path-1
<AS template-path-2> </ STORE=libref.template-store >
;
|
statements-and-attributes
|
|
|
LINK template-path-1 TOtemplate-path-2 </ option(s)>;
|
|
LIST
<starting-path></ option(s)>;
|
|
SOURCE template-path </ option(s)>;
|
|
TEST
DATA=data-set </ STORE=libref.template-store>;
|
|
Task |
Statement |
Create a column template |
DEFINE COLUMN
|
Create a crosstabulation template |
DEFINE CROSSTABS
|
Create a footer template |
DEFINE FOOTER
|
Create a header template |
DEFINE HEADER
|
Create a graph template |
DEFINE STATGRAPH
|
Create a style |
DEFINE STYLE
|
Create a table template |
DEFINE TABLE
|
Create a tagset |
DEFINE TAGSET
|
Delete the specified template |
DELETE
|
Edit an existing template |
EDIT
|
Create a link to an existing template |
LINK
|
List items in one or more template stores |
LIST
|
Specify the locations to write to or read from when
creating or using PROC TEMPLATE templates, and the order in which to search
for them |
PATH
|
Write the source code for the specified template to
the SAS log |
SOURCE
|
Test the most recently created template by binding it
to the specified data set |
TEST
|
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.