Chapter Contents




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

CMS specifics: engine/host-dependent information, directory information

See Also


PROC CONTENTS <options>;


While most of the output generated by the CONTENTS procedure is the same across all operating environments, the Engine/Host Dependent Information output is system-dependent. Engine/Host Dependent Information from PROC CONTENTS for the V8 Engine shows the information specific to CMS for the V8 engine generated from the following SAS statements:

data oranges;
   input variety $ flavor texture looks;
navel 9 8 6
temple 7 7 7
valencia 8 9 9
mandarin 5 7 8

proc contents data=oranges;

Engine/Host Dependent Information from PROC CONTENTS for the V8 Engine
                        The SAS System                                1

                             The CONTENTS Procedure

   Data Set Name: WORK.ORANGES                        Observations:         4
   Member Type:   DATA                                Variables:            4
   Engine:        V8                                  Indexes:              0
   Created:       14:27 Tuesday, March 5, 1999        Observation Length:   32
   Last Modified: 14:27 Tuesday, March 5, 1999        Deleted Observations: 0
   Protection:                                        Compressed:           NO
   Data Set Type:                                     Sorted:               NO

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

         Data Set Page Size:         6144
         Number of Data Set Pages:   1
         First Data Page:            1
         Max Obs per Page:           254
         Obs in First Data Page:     4
         Number of Data Set Repairs: 0
         File Name:                  ORANGES WORK A
         Release Created:            7.0000B1
         Host Created:               VM/ESA
         Owner Name:

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

                       #    Variable    Type    Len    Pos
                       2    flavor      Num       8      0
                       4    looks       Num       8     16
                       3    texture     Num       8      8
                       1    variety     Char      8     24

This information can help you optimize the storage space for the data set. For an explanation of this information, see Estimating the Size of a SAS Data Set .

If you use DATA=_all_ and the DIRECTORY option, SAS generates a list of library members similar to the PROC DATASETS directory information in the SAS log.

See Also

Chapter Contents



Top of Page

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