Chapter Contents

Previous

Next
The TEMPLATE Procedure

Procedure Syntax


Availability: The LIST statement and the STORE= option are available in Version 8 of the SAS System

PROC TEMPLATE;
DEFINE definition-type definition-path< / STORE=libname.template-store>;
statements-and-attributes
END;
DELETE definition-path< / STORE=libname.template-store >;
EDIT definition-path-1 <AS definition-path-2> < / STORE=libname.template-store > ;
statements-and-attributes
END;
LINK definition-path-1 definition-path-2 </ <NOTES ='text' <STORE=libname.template-store>>>;
LIST <starting-path></ option(s)>;
PATH location(s);
SOURCE definition-path </ FILE='file-specification'><STORE=libref.template-store>;
TEST DATA=SAS-data-set< / STORE=libname.template-store>;

To do this ... Use this statement
Create a definition for a table, column, header, footer, or style DEFINE
Delete the specified definitions DELETE
Edit an existing definition EDIT
Create a link to an existing definition LINK
List items in one or more template stores LIST
Specify which locations to search for definitions, as well as the order in which to search for them PATH
View the source code for the specified definition SOURCE
Test the most recently created definition by binding it to the specified data set TEST


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.