nerdexam
SAS_Institute

A00-212 · Question #79

The following SAS code is submitted: %macro houses(dsn = houses,sub = RANCH); data &dsn; set sasuser.houses; if style = "-"; run; %mend; %houses(sub = SPLIT) %houses(dsn = ranch) %houses(sub =…

The correct answer is D. 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 = "-"; 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.ranch
  • Bwork.houses
  • CWORK.RANCH
  • DWORK.HOUSES

How the community answered

(19 responses)
  • A
    11% (2)
  • B
    5% (1)
  • C
    5% (1)
  • D
    79% (15)

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice