|Procedures under UNIX|
|UNIX specifics:||FILE= option in the CONTENTS statement|
|See:||CATALOG Procedure in Base SAS Procedures Guide|
PROC CATALOG CATALOG=<libref.>catalog
Note: This version is a simplified version of the CATALOG procedure syntax. For the complete syntax and its explanation, see the CATALOG procedure in the 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:
SAS writes the following output to the Log:
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.