SAS_Institute
A00-212 · Question #109
The following SAS program is submitted: %macro execute; <insert statement here> proc print data = sasuser.houses; run; %end; %mend; Which of the following completes the above program so that it…
The correct answer is A. %if &sysday = Tuesday %then %do. See the full explanation below for the reasoning.
Question
The following SAS program is submitted:
%macro execute; <insert statement here> proc print data = sasuser.houses; run; %end; %mend; Which of the following completes the above program so that it executes on Tuesday?
Options
- A%if &sysday = Tuesday %then %do;
- B%if &sysday = 'Tuesday' %then %do;
- C%if "&sysday" = Tuesday %then %do;
- D%if '&sysday' = 'Tuesday' %then %do;
How the community answered
(55 responses)- A80% (44)
- B5% (3)
- C11% (6)
- D4% (2)
Community Discussion
No community discussion yet for this question.