SAS_Institute
A00-202 · Question #64
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…
The correct answer is C. 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
- A1234
- B3654
- C5678
- Dnull
How the community answered
(46 responses)- A4% (2)
- B13% (6)
- C76% (35)
- D7% (3)
Community Discussion
No community discussion yet for this question.