Chapter Contents

Previous

Next
DATASETS

DATASETS



Lists, copies, renames, repairs, and deletes SAS files; also manages indexes for and appends SAS data sets in a SAS data library; changes variable names and related variable information and prints the contents

Language element: procedure
OpenVMS specifics: directory information; CONTENTS statement output


Syntax
Details
See Also

Syntax

PROC DATASETS <option(s)>;
CONTENTS <option(s)>

Note:   This is a simplified version of the DATASETS procedure syntax. For the complete syntax and its explanation, see the DATASETS procedure in SAS Procedures Guide.  [cautionend]

CONTENTS option(s)
the value for option(s) can be the following:

DIRECTORY
prints a list of information specific to the OpenVMS operating environment.


Details

The SAS data library information that the DATASETS procedure displays in the SAS log is specific to your operating environment. SAS Data Library Information from PROC DATASETS with the V8 Engine shows the information that the DATASETS procedure writes to the SAS log when the following SAS statements are executed in the OpenVMS environment:

proc datasets library=work;
run;

SAS Data Library Information from PROC DATASETS with the V8 Engine
1     proc datasets library=work;

                                     -----Directory-----

                           Libref:        WORK
                           Engine:        V8
                           Physical Name: SASDISK:[SASDEMO.SAS$WORK2542293E]

                                 #  Name     Memtype  Indexes
                                 ----------------------------
                                 1  ORANGES  DATA

2     quit;
$

The output shows you the libref, engine, and physical name associated with the library, as well as the names of the data sets that the library contains. It also shows the names of any catalogs and valid memtype stored in the library.

The CONTENTS statement of the DATASETS procedure generates the same Engine/Host Dependent Information as the CONTENTS procedure.

See Also


Chapter Contents

Previous

Next

Top of Page

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