Note: This version is a simplified
version of the DATASETS procedure syntax. For the complete syntax
and its explanation, see
DATASETS Procedure in Base SAS Procedures Guide.
The output from the
DATASETS procedure shows you the libref, engine, and physical name
that are associated with the library, as well as the names and other
properties of the SAS files that are contained in the library. Some
of the SAS library information, such as the filenames and access permissions,
that is displayed in the SAS log by the DATASETS procedure depends
on the operating environment and the engine. The information generated
by the CONTENTS statement also varies according to the device type
or access method associated with the data set.
If you specify the DIRECTORY
option in the CONTENTS statement, the directory information is displayed
in both the Log and Output windows.
The CONTENTS statement
in the DATASETS procedure generates the same engine and host-dependent
information as the CONTENTS procedure.