Both Proc Contents with the data=Sales.all nodetails option AND Proc datasets with Contents data=Sales.all nodetails will print summaries of all files in the Sales library. Proc Contents can run standalone with the all keyword and nodetails option to suppress detailed attribute information. Proc Datasets is a utility procedure that can manage multiple files in a library and includes Contents as a sub-statement. Both syntaxes are valid SAS programming approaches for library-level reporting.