Previous Page | Next Page

SAS Procedures under Windows

CATALOG Procedure: Windows



Manages entries in SAS catalogs.
Windows specifics: FILE= option in the CONTENTS statement
See: CATALOG Procedure in Base SAS Procedures Guide

Syntax
Details

Syntax

PROC CATALOG CATALOG=<libref.>catalog <ENTRYTYPE=etype> <KILL>;
CONTENTS <OUT=SAS-data-set> <FILE=fileref;>

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

fileref

names a file specification that is specific to the Windows operating environment.


Details

The CATALOG procedure manages entries in SAS catalogs.

The FILE= option in the CONTENTS statement of the CATALOG procedure accepts a file specification that is specific to the Windows operating environment. If an unquoted file specification is given in the FILE= option, but no FILENAME statement, SET system option, or Windows environment variable is used to define the file specification, the file is named file-specification.LST and is stored in the working directory. For example, if MYFILE is not a fileref defined by the FILENAME statement, the SET system option, or a Windows environment variable, and you submit the following statements, the file MYFILE.LST, containing the list of contents for Sasuser.Profile, is created in your working directory:

proc catalog catalog=sasuser.profile;
   contents file=myfile;
run;

Previous Page | Next Page | Top of Page