Note: This version is a simplified
version of the CATALOG procedure syntax. For the complete syntax and
its explanation, see
CATALOG Procedure in Base SAS Procedures Guide.
The FILE= option in
the CONTENTS statement of the CATALOG procedure accepts a fileref.
If the name specified does not correspond to a fileref, a file with
that name and an extension of
.lst
is created
in the current directory. For example, if
myfile
is
not a fileref, the following code creates the file
myfile.lst
in
your current directory:
proc catalog catalog=sasuser.profile;
contents file=myfile;
run;
SAS writes the following
output to the Log:
NOTE: 6 entries have been written to the output file /users/userid/MYFILE.lst.
Note: The filename that is created
is always stored in lowercase, even if you specified it in uppercase.
In the SAS log, however, the filename is listed in uppercase.