Dictionary of ODS Language Statements |
Valid: | anywhere |
Category: | ODS: Output Control |
Tip: | This statement overrides the ODS PATH statement for the duration of a PROC TEMPLATE step. |
Tip: | You can use the SYSODSPATH automatic macro variable to store the current ODS path. For information on the SYSODSPATH macro variable, see SAS Macro Language: Reference. |
Syntax | |
Required Arguments | |
Options |
Syntax |
PATH <(APPEND) | (PREPEND) | (REMOVE) > location(s); |
PATH path-argument; |
specifies one or more locations to write to or read from when creating or using PROC TEMPLATE definitions 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.
Each location has the following form:
<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 ODS PATH statement will create it.
specifies the access mode for the definition. The 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:
Note: SAS stores all the definitions that it provides in SASHELP.TMPLMST. If you have the RSASUSER SAS system option specified, the default path is:
Note: See the RSASUSER SAS system option in SAS Language Reference: Dictionary for more information. |
||||||||||
Interaction: | You can use the PATH statement in a PROC TEMPLATE step to temporarily override the ODS PATH statement (see PATH Statement in PROC TEMPLATE). | ||||||||||
Tip: | If you want to be able to ignore all definitions 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. |
adds or removes one or more locations to a path.
adds one or more locations to the end of a path. When you append a location to a path, all duplicate instances (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 are kept.
adds one or more locations to the beginning of a path. When you prepend a location with update permissions to a path, all duplicate instances (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 are kept.
Default: | If you do not specify an APPEND, PREPEND, or REMOVE option, then the ODS PATH statement overwrites the complete path. |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.