SAS_Institute
A00-202 · Question #1
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 C. %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
(37 responses)- A8% (3)
- B3% (1)
- C84% (31)
- D5% (2)
Community Discussion
No community discussion yet for this question.