CONTENTS Procedure: Windows

Prints descriptions of the contents of one or more SAS library files.

Windows specifics: Engine Host Dependent Information output
See: CONTENTS Procedure in Base SAS Procedures Guide

Syntax

PROC CONTENTS <option(s)> ;

Required Argument

option(s)

For an explanation of the available options, see the CONTENTS procedure in Base SAS Procedures Guide.

Details

The CONTENTS procedure shows the contents of a SAS set and prints the directory of the SAS library.
Most of the printed output generated by the CONTENTS procedure is the same across all operating environments. The Engine Host Dependent Information output depends on both the operating environment and the engine. The following example output shows the Engine Host Dependent Information that is generated for the V9 engine from these statements:
DATA SCHOOL;
   INPUT NAME $ Y GRADE CLASS $ ID;
   DATALINES;
 PHIL 1 85 MATH 234107589
 ROBERTO 1 90 ENGLISH 190873452
 CAROL 2 70 MATH 257902348
 THOMAS 2 71 ENGLISH 234567823
 JUANITA 3 98 FRENCH 876345290
 CEDRIC 3 75 HISTORY 231987222
 MARIA 4 89 PE 87654321
 ;
 PROC CONTENTS DATA=SCHOOL OUT=SCHOUT(DROP=CRDATE MODATE);
    TITLE 'SCHOOL DATASET';
    RUN;
Engine Host Dependent Information from PROC CONTENTS Using the V9 Engine
Engine Host Dependent Information from PROC CONTENTS Using the V9 Engine
The engine name (V9) is listed in the header information. The Engine Host Dependent Information describes attributes of the data set, such as the data set page size and the maximum number of observations per page. For more information about how to interpret the data set size information, see Calculating Data Set Size.