SAS Certified Adv Programmer 130 Questions (8)
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
Topics:
SAS Adv Questions |
5 Comments »
D
Please explain
D: %houses(sub=TWOSTORY) OR %houses(dsn=HOUSES, sub=TWOSTORY)
SYSLAST the name of the most recently created SAS data set, in the form LIBREF.NAME. This value is always stored in ALL capital letters.
SYSLAST
always stored in all capital letters!