s*********h 发帖数: 16 | 1 Given the following SAS data set ONE:
ONE
DIVISION SALES
A 1234
A 3456
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?
(A) null
(B) 1234
(C) 3456
(D) 5678
答案为什么是D呢?谢谢 | q**j 发帖数: 10612 | 2 call symput is invoked twice.
【在 s*********h 的大作中提到】 : Given the following SAS data set ONE: : ONE : DIVISION SALES : A 1234 : A 3456 : B 5678 : The following SAS program is submitted: : data _null_; : set one; : by division;
|
|