Lists the contents of a catalog in the procedure output or writes
a list of the contents to a SAS data set, an external file, or both.
CONTENTS <OUT=SAS-data-set>
<FILE=fileref>;
|
The output is sent to the procedure output.
Note: The ENTRYTYPE= (ET=) option is not available for the CONTENTS
statement.
- CATALOG=<libref.>catalog
-
specifies the SAS catalog to process.
Alias: |
CAT=, C= |
Default: |
None |
- FILE=fileref
-
sends the contents to an external file, identified with
a SAS fileref.
Interaction: |
If fileref has not
been previously assigned to a file, then the file is created and named according
to operating environment-dependent rules for external files. |
- OUT=SAS-data-set
-
sends the contents to a SAS data set. When the statement
executes, a message on the SAS log reports that a data set has been created.
The data set contains six variables in the following order:
LIBNAME |
the libref |
MEMNAME |
the catalog name |
NAME |
the names of entries |
TYPE |
the types of entries |
DESC |
the descriptions of entries |
DATE |
the dates entries were last
modified. |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.