TEMPLATE Procedure: Managing Template Stores

Syntax

PROC TEMPLATE;
DELETE item-path< / STORE=libref.template-store >;
LINK item-path-1 TO item-path-2 </option(s)>;
LIST <starting-path></ option(s)>;
PATH location(s);
SOURCE item-path </option(s)><STORE=libref.template-store>;
TEST DATA=data-set< / STORE=libref.template-store>;

Table of Procedure Tasks

Statement Task Example
PROC TEMPLATE Statement Begin a PROC TEMPLATE template Ex. 1, Ex. 2, Ex. 3
DELETE Statement Delete the specified item  
LINK Statement Create a link to an existing item  
LIST Statement List items in one or more template stores Ex. 1, Ex. 2
PATH Statement Specify which locations to write to or read from when you create or use PROC TEMPLATE items, and specify the order in which to search for them Ex. 1, Ex. 2, Ex. 3
SOURCE Statement Write the source code for the specified item to the SAS log Ex. 3
TEST Statement Test the most recently created item by binding it to the specified data set