Multiple choice technology programming languages

What will the following PROC CATALOG step do? proc catalog cat=mylib.sasmacr; contents; quit;

  1. Copy the contents of the Sasmacr catalog to a temporary data set.

  2. List the contents of the Sasmacr catalog as output.

  3. Copy the contents of the output window to the Sasmacr catalog.

  4. none of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

PROC CATALOG with the CONTENTS statement displays a listing of catalog entries and their attributes in the output window. It does not copy data to datasets (option A) or copy from output window to catalog (option C). The CAT= option specifies the catalog to process. This is a diagnostic/catalog management procedure for viewing catalog structure.