Help using Base SAS procedures

Report

Reply
N/A
Posts: 0

Report

Hi,

I need to create a summary report with all counts.So I created a count for each dataset and together put it on the one dataset,but the output is not so exact if I use the below code,

data summaryReport;
set Var1 Var2 Var3 Var4 ;
run;

Var1 Var2 Var3 Var4
38
0
0
40

I need an output as below,

Var1 38
Var2 0
var3 0
var4 40

Please let me know.
Thanks

Message was edited by: Shw Message was edited by: Raveenat
Ask a Question
Discussion stats
  • 0 replies
  • 91 views
  • 0 likes
  • 1 in conversation