Previous Page | Next Page

Procedures under OpenVMS

CONTENTS Procedure: OpenVMS

Prints the description of the contents of one or more files from a SAS library.
OpenVMS specifics: Engine/Host Dependent Information output
See: CONTENTS Procedure in Base SAS Procedures Guide

See Also


PROC CONTENTS <option(s)>;

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


can be the following under OpenVMS:


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.


The CONTENTS procedure shows the contents of a SAS data set and prints the directory of the SAS 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. The following output shows the Engine/Host Dependent Information generated for the V9 engine from the following statements:

proc contents data=oranges;

Engine/Host Dependent Information from PROC CONTENTS Using the V9 Engine

                           The CONTENTS Procedure

Data Set Name        WORK.ORANGES                       Observations          1
Member Type          DATA                               Variables             5
Engine               V9                                 Indexes               0
Created              Monday, May 12, 2008 01:46:21      Observation Length    40
Last Modified        Monday, May 12, 2008 01:46:21      Deleted Observations  0
Protection                                              Compressed            NO
Data Set Type                                           Sorted                NO
Data Representation VMS_IA64, ALPHA_VMS_64
Encoding            latin1  Western (ISO)

                     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             9.0201B0
  Host Created                OpenVMS
  File Size (blocks)          17

                 Alphabetic List of Variables and Attributes

                     #    Variable    Type    Len
                     2    flavor      Num       8
                     4    looks       Num       8
                     3    texture     Num       8
                     5    total       Num       8
                     1    variety     Char      8

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.

Note:   For a data set that was created with the V6 engine in the OpenVMS VAX environment, the PROC CONTENTS output shows a value of Default in the Data Representation and Encoding fields.

For a data set that was created with the V609 engine in the OpenVMS VAX environment, the PROC CONTENTS output shows a value of VMS_VAX in the Host Created field.  [cautionend]

See Also

Previous Page | Next Page | Top of Page