Documenting Integrity Constraints
Overview
To view the descriptor portion of your data, including
the integrity constraints that you have placed on a data set, you
can use the CONTENTS statement in the DATASETS procedure.
General form, DATASETS
procedure with the CONTENTS statement:
PROC DATASETS LIB=libref <NOLIST>;
CONTENTS
DATA=SAS-data-set;
QUIT;
libref
is the library in which
the data set is stored.
NOLIST
suppresses the directory
listing.
SAS-data-set
is the name of the
data set that you want information about.
|
Note: The CONTENTS statement in
the DATASETS procedure results in the same information as the CONTENTS
procedure.
Example
The following code displays information ...
Get SAS Certification Prep Guide, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.