SAS_Institute
A00-212 · Question #59
The following SAS program is submitted: %macro cols1; name age; %mend; %macro cols2; height weight; %mend; proc print data = sashelp.class; <insert VAR statement here> run; Which VAR statement…
The correct answer is B. var height %cols1. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
%macro cols1; name age; %mend; %macro cols2; height weight; %mend; proc print data = sashelp.class; <insert VAR statement here> run; Which VAR statement successfully completes the program and produces a report?
Options
- Avar %cols2 %cols1;
- Bvar height %cols1;
- Cvar %cols1 height;
- Dvar %cols1 %cols2 height;
How the community answered
(27 responses)- A7% (2)
- B85% (23)
- C4% (1)
- D4% (1)
Community Discussion
No community discussion yet for this question.