Published on :

SAS Dataset Definitions

This code is also available in: Deutsch Español Français
This document explains what a SAS© dataset is, describing it as a tabular set of data stored in a SAS© file format, including both data values and metadata (descriptive information). It details how the SAS© V9 and SAS© Scalable Performance Data Engine (SPD Engine) manage the storage of this information. Furthermore, it shows how to view SAS© dataset metadata using the CONTENTS procedure or the CONTENTS statement within the DATASETS procedure, and mentions the addition of sort information to the metadata when the dataset is sorted.
Data Analysis

Type : SASHELP


The examples use data from the SASHELP library, a data library integrated with SAS.

1 Code Block
PROC CONTENTS
Explanation :
This example uses the CONTENTS procedure to display the descriptor information (metadata) of the SASHELP.AIR dataset. This procedure provides details such as the dataset name, creation date, number of observations and variables, and the attributes of each variable.
Copied!
1PROC CONTENTS DATA=sashelp.air;
2RUN;
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
Copyright Info : Copyright © SAS Institute Inc. All Rights Reserved