data have;
input date :date9. num_1 Num_2 ;
format date date9.;
cards;
06JAN2019 5 10
13JAN2019 5 10
20JAN2019 5 10
27JAN2019 5 10
;
data want;
set have;
if _n_=1 then total+sum(num_1 ,Num_2);
else total+ Num_2;
run;
SAS Innovate 2025: Save the Date
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!