By admin | October 28, 2009

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

5 comments | Add One

  1. admin - 10/28/2009 at 10:17 am

    D

  2. rob roy - 09/3/2012 at 7:21 am

    Please explain

  3. Consty - 02/18/2013 at 11:14 pm

    D: %houses(sub=TWOSTORY) OR %houses(dsn=HOUSES, sub=TWOSTORY)

  4. r - 10/31/2013 at 6:09 pm

    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.

  5. chinawokee - 07/9/2014 at 11:27 pm

    SYSLAST

    always stored in all capital letters!

Leave a Comment

Leave a Reply

Your email address will not be published.