Select the best answer
for each question. After completing the quiz, check your answers using
the answer key in the appendix.
-
Which of the following
is false?
-
A %MACRO statement must
always be paired with a %MEND statement.
-
A macro definition can
include macro variable references, but it cannot include SAS language
statements.
-
Only macro language
statements are checked for syntax errors when the macro is compiled.
-
Compiled macros are
stored in a temporary SAS catalog by default.
-
Which of the following
examples correctly defines a macro named Print that defines and resolves
parameters named vars and total?
-
%macro print(vars, total);
proc print data=classes;
var vars;
sum total;
run;
%mend print;