| Dictionary of ODS Language Statements |
| Valid: | anywhere |
| Category: | ODS: Output Control |
| Syntax | |
| Actions | |
| Options |
Syntax |
| ODS DOCUMENT action; |
| ODS DOCUMENT |
| <NAME=<libref.>member-name <(access-option)>> |
| <DIR=(<PATH=path<(access-option)> <LABEL="label">> )> |
| <CATALOG=permanent-catalog | _NULL_>; |
An action is any one of the following:
closes the destination and any files that are associated with it.
| Tip: | When an ODS destination is closed, ODS does not send output to that destination. Closing an unneeded destination frees some system resources. |
excludes one or more output objects from the DOCUMENT destination.
| Default: | NONE |
| Restriction: | The DOCUMENT destination must be open for this action to take effect. |
| Main discussion: | ODS EXCLUDE Statement |
selects one or more output objects for the DOCUMENT destination.
| Default: | ALL |
| Restriction: | The DOCUMENT destination must be open for this action to take effect. |
| Main discussion: | ODS SELECT Statement |
writes the current selection or exclusion list for the destination to the SAS log.
| Restriction: | The destination must be open for this action to take effect. |
| Tip: | If the selection or exclusion list is the default list (SELECT ALL), then SHOW also writes the entire selection or exclusion list. |
| See also: | ODS SHOW Statement |
![[cautionend]](../../../../common/61991/HTML/default/images/cautend.gif)
copies any temporary GRSEG to the specified permanent catalog and keeps a reference to the permanent GRSEG in the document. This value persists until the ODS DOCUMENT statement is closed, or until you delete it by specifying CATALOG=_NULL_.
The permanent catalog has the following form:
| <libref.><member-name>; |
deletes the catalog name that was previously specified for the CATALOG= option. Thereafter, temporary GRSEGs are not copied into the permanent catalog, and thus are unavailable in subsequent sessions.
| Alias: | CAT= |
| Default: | By default, no value is assigned to CATALOG=, which means that temporary GRSEGs are not copied to a permanent catalog. |
specifies the directory path and/or label for ODS output.
is specified as a sequence of entries that are delimited by backslashes.
| path<#sequence-number> |
is a number which, when combined with a pathname, uniquely identifies the entry in the directory that contains it.
| Default: | The default path is "\" (root). |
| Tip: | You can specify a directory that contains entries that do not exist in the document. |
specifies the access mode for the ODS document.
opens a document and provides write access as well as read access.
opens an ODS document and appends new content to the document. UPDATE provides update access as well as read access.
| Default: | UPDATE |
Note: Procedure
output or data queries will be added
at the end of the directory. ![[cautionend]](../../../../common/61991/HTML/default/images/cautend.gif)
specifies the SAS library where the document is stored.
| Default: | If no library name is specified, the WORK library is used. |
specifies the access mode for the ODS document.
opens a document and provides write access as well as read access.
opens an ODS document and appends new content to the document. UPDATE provides update access as well as read access.
| Default: | UPDATE |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.