@SASUser0001 wrote:
hi this is my programe where should I use
macro d1(name, list)
proc summary data=total nway missing
var &list
output out= data1 (drop=_type_ _freq_) sum=
run
mend d1
Please help us all out and don't post code that doesn't have semi-colons and doesn't have % signs on the macro commands and has other obvious syntax errors. Please use the "running man" icon and post your code in the window that appears.
Also, @ballardw has already explained that you need to do the multiplication in a data step after your PROC SUMMARY, and he has given example code. Give that a try.
... View more