It helps to have some actual data but this is easy with RETAIN for the cumulative value.
You should also examine the concept of Scoring, applying the regression model to another data set.
data want;
set have;
retain cumulative .
y= alpah +beta(variable1);
cumulative = sum(cumulative,y);
run;
... View more