You don't say what you want in your table or what the table would look like. Or do you want the data set (your existing code only creates data for the last variable).
Perhaps other procedures may help:
proc tabulate data =comm;
class COMMMEM1 COMMMEM2 COMMMEM3 COMMMEM4 COMMMEM5 ;
table COMMMEM1 COMMMEM2 COMMMEM3 COMMMEM4 COMMMEM5 ,
n
;
run;
If you want a data set you'll have to show us what you want that data set to look like.
... View more