Chapter Contents

Previous

Next
CONTENTS

CONTENTS



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

Windows specifics: Engine/Host Dependent Information output


Syntax
Details
See Also

Syntax

PROC CONTENTS <option(s)>;

option(s)
For an explanation of the available options, see the CONTENTS procedure in SAS Procedures Guide.


Details

The CONTENTS procedure shows the contents of a SAS data set and prints the directory of the SAS data library.

While 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. Engine/Host Dependent Information from PROC CONTENTS Using the V8 Engine shows an example of the Engine/Host Dependent Information generated for the V8 engine from the following statements:

proc contents data=states;
 title 'Contents of a Version 8 Data Set';
run;

Engine/Host Dependent Information from PROC CONTENTS Using the V8 Engine
                        Contents of a Version 8 Data Set                       1

                             The CONTENTS PROCEDURE

Data Set Name: WORK.STATES                            Observations:         51
Member Type:   DATA                                   Variables:            3
Engine:        V8                                     Indexes:              0
Created:       11:21 Tuesday, February 2, 1999        Observation Length:   48
Last Modified: 11:21 Tuesday, February 2, 1999        Deleted Observations: 0
Protection:                                           Compressed:           NO
Data Set Type:                                        Sorted:               NO
Label:

                  -----Engine/Host Dependent Information-----

          Data Set Page Size:         8192
          Number of Data Set Pages:   1
          First Data Page:            1
          Max Obs per Page:           169
          Obs in First Data Page:     51
          Number of Data Set Repairs: 0
          File Name:                  C:\TEMP\SAS Temporary Files\_TD257\states.sas7bdat
          Release Created:            8.00.00B
          Host Created:               WIN_NT

             -----Alphabetic List of Variables and Attributes-----

                #    Variable    Type    Len    Pos    Format
                ャャャャャャャャャャャャャャャャャャャャャャャ
                3    COUNT       Num       8      0    COMMA7.
                1    STATE       Char     14      8
                2    VIDEO       Char     20     22

The engine name (V8) 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.

See Also


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.