| The DOCUMENT Procedure |
| Default: | Documents are opened in the UPDATE access mode. |
| Featured in: | Navigating the File Location and Listing the Entries and Opening and Listing ODS Documents |
| DOC <options <access-option(s)>>; |
| Without Options |
If no options are specified, then the DOC statement lists the ODS documents in all SAS libraries in alphabetical order. Document labels, if any, are displayed.
| Options |
assigns a label to a document. For example, the following DOC statement opens the document WORK.YourDoc in Write mode and assigns a label to it:
doc name=yourdoc(write) label='repeated measures results'; run;
specifies that only the documents in the specified library-name are listed.
| Alias: | LIB= |
| Interaction: | The LIBRARY= option cannot be specified with the NAME= or LABEL= options. |
specifies the name that you assign to a document and its access mode.
| Default: | If no library is specified, then the WORK library is used. |
| Restriction: | The document must be a SAS library member. |
specifies the access mode for the document.
opens a document and provides read-only access.
| Interaction: | If a label has been specified with the LABEL= option, then the label is ignored. |
opens a document and provides Write access, but only if you have Write permission.
opens a document and provides Update access, but only if you have Update permission.
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.