I have a large SAS dataset which contain both numeric and character variables. I can use proc means to calculate descriptive statistics for numeric variables. For character variables, I want to know the unique values and their frequencies and missing values. I want to call all character variables at once and don't want to specify each one.
How do I do this?
For e.g the following datastep calls all numeric variables at once and calculate their summary statistics.
proc means data = dat1;
var _numeric_;
run;
I verified that the following doesn't work:
proc freq data = dat1;
tables _character_;
run;
Thanks!