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 (always creating a new template store) as well as read access.

UPDATE
provides update access (creating a new template store only if the specified one does not exist) 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.  [cautionend]

Interaction: You can use the PATH statement in a PROC TEMPLATE step to temporarily override the ODS PATH statement (see 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.
Featured in: Modifying the Default Style Definition for the HTML Destination


Chapter Contents

Previous

Next

Top of Page

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