Which keyword, when added to the PROC FORMAT statement, will display all the formats in your catalog?
-
FMTCAT
-
CATALOG
-
FMTLIB
-
LISTFMT
The FMTLIB keyword in PROC FORMAT displays all formats in the catalog. FMTCAT and CATALOG are not valid keywords for this purpose, and LISTFMT is not a standard SAS keyword for format display.
To display all the formats in your catalog, you need to add the keyword "FMTLIB" to the PROC FORMAT statement.
Let's go through each option to understand why it is correct or incorrect:
Option A) FMTCAT - This option is incorrect because the "FMTCAT" keyword is not used to display all the formats in your catalog.
Option B) CATALOG - This option is incorrect because the "CATALOG" keyword is not used to display all the formats in your catalog.
Option C) FMTLIB - This option is correct because the "FMTLIB" keyword is used to display all the formats in your catalog.
Option D) LISTFMT - This option is incorrect because the "LISTFMT" keyword is not used to display all the formats in your catalog.
The correct answer is C) FMTLIB. This option is correct because adding the "FMTLIB" keyword to the PROC FORMAT statement will display all the formats in your catalog.