I won't give a data step or SQL solution as this is what we have PROC FREQ for:
PROC FREQ DATA=yourdata; TABLES V1; RUN;
See your documentation on PROC FREQ.
Regards - Jim.
Jim Groeneveld, Netherlands
Statistician, SAS consultant
My computer, my wife and I will attend SGF 2009 near Washington.
On Thu, 12 Mar 2009 01:48:30 -0400, Shaik Hyimad <hymadsk@GMAIL.COM> wrote:
>I hav 50 subjects,in that 30 sub r completed an 20 sub not completed
>using data step or proc sql i need output like
> v1 overall
> total 50
> not completed 20
> completed 30
>and can u pls help me ASAp