If your variable is categorical you likely want count summaries instead and that lends itself to PROC FREQ, not PROC UNIVARIATE.
Statistical summaries, such as means/medians don't make sense for a categorical variable.
If you're trying to group your summaries by the categorical variable include it in your CLASS statement.
... View more