Chapter Contents

Previous

Next
The ODS Statements

ODS PATH Statement


Specifies which locations to search for definitions that were created by PROC TEMPLATE, as well as the order in which to search for them.

ODS PATH location(s);


Required Arguments

location(s)
specifies one or more locations to search for definitions that were created by PROC TEMPLATE. 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 use of the ODS PATH statement completely re-establishes the list of paths.

Each location has the following form:
<libname.>item-store <(READ | UPDATE | WRITE)>

<libname>.item-store
identifies an item store that contains style definitions, table definitions, or both.

(READ | UPDATE | WRITE)
specifies the access mode for the definition, where

READ
provides read-only access.

WRITE
provides write access (overwriting an existing definition) as well as read access.

UPDATE
provides update access (adding to the existing definition) as well as read access.

Default:
sasuser.templat(update)
sashelp.tmplmst(read)

Note:    SAS stores all the style definitions that it provides in sashelp.tmplmst.  [cautend]

Interaction: You can use the PATH statement in a PROC TEMPLATE step to temporarily override the ODS PATH statement.
Tip: If you want to be able to ignore all user-defined definitions, keep them in their own item stores so that you can leave them out of the list of items stores that ODS searches.


Chapter Contents

Previous

Next

Top of Page

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