List the entries in a catalog and route the output to a file. The CONTENTS statement creates a listing of the contents of the SAS
catalog PERM.FINANCE and routes the output to a file.
proc catalog catalog=perm.finance;
contents;
title1 'Contents of PERM.FINANCE before changes are made';
run;