nerdexam
SAS_Institute

A00-212 · Question #148

Given the following SAS data set ONE: ONE DIVISION SALES A 1234 A 3654 B 5678 The following SAS program is submitted: data _null_; set one; by division; if first.division then call…

The correct answer is D. 5678. See the full explanation below for the reasoning.

Question

Given the following SAS data set ONE:

ONE DIVISION SALES A 1234 A 3654 B 5678 The following SAS program is submitted:

data null; set one; by division; if first.division then call symput('mfirst',sales); if last.division then call symput('mlast',sales); run; Which one of the following is the value of the macro variable MFIRST when the above program finishes execution?

Options

  • Anull
  • B1234
  • C3654
  • D5678

How the community answered

(28 responses)
  • A
    11% (3)
  • B
    4% (1)
  • C
    4% (1)
  • D
    82% (23)

Community Discussion

No community discussion yet for this question.

Full A00-212 Practice