Chapter Contents

Previous

Next
CONTENTS

CONTENTS



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

Language element: procedure
OpenVMS specifics: Engine/Host Dependent Information output


Syntax
Details
See Also

Syntax

PROC CONTENTS <option(s)>;

Note:   For a complete listing and explanation of the available options, see the CONTENTS procedure in SAS Procedures Guide.  [cautionend]

option(s)
can be the following:

DIRECTORY
prints a list of information specific to the OpenVMS operating environment. This information is the same as the PROC DATASETS directory information that is written to the log.


Details

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

Although most of the printed output that the CONTENTS procedure generates is the same on all operating environments, the Engine/Host Dependent Information output is specific to your operating environment. Engine/Host Dependent Information from PROC CONTENTS Using the V8 Engine shows the Engine/Host Dependent Information generated for the V8 engine from the following statements:

proc contents data=oranges;
run;

Engine/Host Dependent Information from PROC CONTENTS Using the V8 Engine
                           The CONTENTS Procedure

Data Set Name: WORK.ORANGES                         Observations:         1
Member Type:   DATA                                 Variables:            5
Engine:        V8                                   Indexes:              0
Created:       10:54 Friday, May 29, 1999           Observation Length:   40
Last Modified: 10:54 Friday, May 29, 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:           203
  Obs in First Data Page:     1
  Number of Data Set Repairs: 0
  Filename:                   SASDISK:[SASDEMO.SAS$WORK2040F93A]ORANGES.SAS7BDAT
  Release Created:            8.00.00P
  Host Created:               OpenVMS
  File Size (blocks):         32


            -----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
                     5    total       Num       8     24
                     1    variety     Char      8     32

The engine name is listed in the header information. The Engine/Host Dependent Information describes the size of the data set, as well as the physical name of the data set.

See Also


Chapter Contents

Previous

Next

Top of Page

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