TEMPLATE Procedure: Managing Template Stores |
Featured in: | Listing Templates in a Template Store and Viewing the Source of a Template |
PATH <(APPEND) | (PREPEND) | (REMOVE) > location(s); |
PATH path-argument; |
Required Arguments |
specifies one or more locations to write to or read from when creating or using PROC TEMPLATE items and the order in which to search for them. ODS searches the locations in the order that they appear on the statement. It uses the first definition that it finds that has the appropriate access mode (Read, Write, or Update) set.
<libref.>item-store <(READ | UPDATE | WRITE)> |
identifies an item store to read from, to write to, or to update. If an item store does not already exist, then the PATH statement creates it.
specifies the access mode for the item. An access mode is one of the following:
provides Write access (always creating a new template store) as well as Read access.
provides Update access (creating a new template store only if the specified one does not exist) as well as Read access.
Default: | READ |
Default: |
The general default path is as follows:
If you have specified the RSASUSER SAS system option, then the default path is as follows:
Note: SAS stores all the items that it provides in SASHELP.TMPLMST. Note: See the RSASUSER SAS system option in SAS Language Reference: Dictionary for more information. |
||||||||||
Tip: | If you want to be able to ignore all the items that you create, then keep them in their own item stores so that you can leave them out of the list of item stores that ODS searches. |
Options |
adds one or more locations to a path, or removes one or more locations from a path.
adds one or more locations to the end of a path. When you append a location to a path, all duplicate instances (with the same name and same permissions) of that item store are removed from the path. Only the last item store with the same name and permissions is kept.
adds one or more locations to the beginning of a path. When you prepend a location to a path, all duplicate instances (with the same name and same permissions) of that item store are removed from the path. Only the first item store with the same name and permissions is kept.
Default: | If you omit an APPEND, PREPEND, or REMOVE option, then the PATH statement overwrites the complete path. |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.