Viewing properties

The content procedure shows the details of the datasets and prints the directory of the SAS library. The following is the basic form of the contents procedure:

PROC DATASETS Library=Work;  CONTENTS DATA=Cost_Living;RUN;

It produces a fairly descriptive output:

The DATASETS procedure produces details of only the dataset specified in the program:

The engine/host-dependent information can be leveraged for optimizing the ability to store a dataset. For our purposes, this information isn’t relevant as we are dealing with a small ...

Get Hands-On SAS for Data Analysis 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.