01-05-2013 07:37 AM
Why do you want add them up there?
It is better to put summary statistics in another data set.( using proc means)
But, OK, the following code is what you want:
proc report data = test out=test_out nowd;
col A B ;
rbreak after / summarize;
For details, see
01-05-2013 08:46 AM
You are welcome!
Proc sql also works:
input A$ B;
create table want as
select * from have
select * from (select 'k' as a1,sum(b) as b1 from have);