SAS_Institute
A00-202 · Question #17
The following SAS code is submitted: %macro houses(dsn = houses,sub = RANCH); data &dsn; set sasuser.houses; if style = "&sub"; run; %mend; %houses(sub = SPLIT) %houses(dsn = ranch) %houses(sub =…
The correct answer is A. WORK.HOUSES. See the full explanation below for the reasoning.
Question
The following SAS code is submitted:
%macro houses(dsn = houses,sub = RANCH); data &dsn; set sasuser.houses; if style = "&sub"; run; %mend; %houses(sub = SPLIT) %houses(dsn = ranch) %houses(sub = TWOSTORY) Which one of the following is the value of the automatic macro variable SYSLAST?
Options
- AWORK.HOUSES
- Bwork.ranch
- CWORK.RANCH
- Dwork.houses
How the community answered
(41 responses)- A71% (29)
- B17% (7)
- C7% (3)
- D5% (2)
Community Discussion
No community discussion yet for this question.