Previous PageNext Page

Proc Contents example
How do you print out the data dictionary (called the "descriptor portion of the data file")?

PROC CONTENTS DATA=Library.SURVEY1;
produces this output:

The CONTENTS Procedure

Data Set Name: LIBRARY.SURVEY1                          Observations:         3
Member Type:   DATA                                     Variables:            5
Engine:        V8                                       Indexes:              0
Created:       10:55 Thursday, August 17, 2000          Observation Length:   40
Last Modified: 10:55 Thursday, August 17, 2000          Deleted Observations: 0
Protection:                                             Compressed:           NO
Data Set Type:                                          Sorted:               NO
Label:


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

<<snip>>
File Name:                  C:\bios524\classlib\survey1.sd7
<<snip>>


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

#    Variable    Type    Len    Pos
-----------------------------------
2    GENDER      Char      1     32
3    HEIGHT      Num       8      8
1    SUBJ        Num       8      0
4    WEIGHT      Num       8     16
5    YEAR        Num       8     24 

Previous PageTable Of ContentsNext Page