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;