Published on :
Data Access INTERNAL_CREATION

Definitions for SAS Data Sets

This code is also available in: Español Français
A SAS© data set is a collection of tabular data whose content is in SAS© file format. A SAS© data set contains the data and information about the data (metadata).
For more information on SAS© data views, see Definitions for SAS© Views.
When you create a SAS© data set using the V9 engine, data values and metadata are stored in a single file. When you create a SAS© data set using the SAS© Scalable Performance Data Engine, data values and metadata are stored in several separate files. Metadata is also called descriptor information. For specific information on how data is stored depending on the engine, refer to the following documentation:
For the SAS© V9 engine, see Parts of a SAS© Data Set.
For the SPD engine, see Differences Between Default Base SAS© Engine Data Sets and SPD Engine Data Sets in SAS© Scalable Performance Data Engine: Reference and Comparison of Default Base SAS© Engine and SPD Engine in SAS© Scalable Performance Data Engine: Reference.
Data in SAS© Cloud Analytic Services: Fundamentals.
To view descriptor information (metadata) about a SAS© data set, you can use the CONTENTS procedure or the CONTENTS statement in the DATASETS procedure:
If a data set is sorted, additional sort information is added to the data set's metadata. For more information on sorting SAS© data sets, see Processing BY Groups.
Data Analysis

Type : INTERNAL_CREATION


Examples use generated data (datalines) or SASHELP.

1 Code Block
PROC CONTENTS
Explanation :
This example uses the CONTENTS procedure to display descriptor information (metadata) for the SAS data set 'sashelp.air'.
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


Related Documentation : Data Access

Sujet / Mot-cléLien vers la ressource
DOC FedSQL en/sampleCode/FEDSQL9D66