Chapter Contents

Previous

Next
CATALOG

CATALOG



Manages entries in SAS catalogs

Windows specifics: FILE= option in the CONTENTS statement


Syntax
Details
See Also

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 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;

See Also


Chapter Contents

Previous

Next

Top of Page

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