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;