Thank you Reeza and stat@sas. My nly problem in using the macro suggested by Reeza is that this macro given percentage of missing for each variable in the dataset. What I am also looking for is to add summary information , for each variable, like - 1st percentile, 5th percentile, minimum, maximum etc. .. This can be only achieved by proc means. Now, when I use proc means - proc means data=&libname..&dsetin. mean std min max p1 p5 p10 p25 p50 p75 p90 p95 p99; var _numeric_; ods output summary=_stat_&var.; run; How do I merge with the &dsetout output to get percent missing for all variables in One file. This is because when I use _numeric_ in Proc means, I could not retain the name of my original variable so could not merge it back with the dataset having missing percent information. Kind regards sk
... View more