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?
A. work.ranch
B. work.houses
C. WORK.RANCH
D. WORK.HOUSES
Answer: D
这个题我在版上搜过,没人问。可是我却不会。。。想知道为何houses变大写了?
G********t 发帖数: 334
2
SYSLAST references the last dataset u used. it is ALWAYS in capital letters.