Chapter 11: Creating and Using Macro Programs
Correct answer: b
A macro definition must
begin with a %MACRO statement and must end with a %MEND statement.
The macro definition can include macro language statements as well
as SAS language statements. When the macro is compiled, macro language
statements are checked for syntax errors. The compiled macro is stored
in a temporary SAS catalog by default.
Correct answer: c
To include positional
parameters in a macro definition, you list the parameters in parentheses
and separate them with commas. When the macro is executed, macro variables
will be created in the local symbol table and will have the same names
as the parameters. You can then use these macro variables within the
Get SAS Certification Prep Guide, 4th Edition now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.