Hi everybody... this is so. so.. easy..
data test;
input x y;
cards;
-1 1
2 2
3 3
4 4
-5 5
6 6
7 7
8 .
9 .
10 .
;
run;
data test2;
set test;
t=sum(missing(y) , y ) *x; /*This result is the same results the SUM function*/
run;
data test3;
set test;
t=sum(0, y ) *x; /*This result is the same results generated in multiply per 0 */
run;
Nice.. ??
... View more