Hi Abu,
From what you wrote I understand you have calculated sumofcoeff_1, sumofcoeff_2 in one data step and would like to use their values in another data step. If this is the case, then CALL SYMPUT routine maybe of use as follows (an example):
data1;
.................
call symput("sumofcoeff_1",sumofcoeff_1);
call symput("sumofcoeff_2",sumofcoeff_2);
.................
run;
data2;
.......................
one_sumofcoeff_1= (1+&sumofcoeff_1);
Sq_one_sumofcoeff_1= (one_sumofcoeff_1)*(one_sumofcoeff_1) ;
Sq_sumofcoeff_2= (&sumofcoeff_2) * (&sumofcoeff_2);
....................
run;
I hope this helps,
Olga
... View more