Ksharp, I tried again, but the code you gave to me only products a cummulative frequency etc. for a continuous (numeric) variable. The results do not show anything about the categorical variables.
To put the question simple, I want to get a summary table which shows the names of the levels for all the categorical variables. For example, the variable Gender has 3 levels (M, F, O), and the variable AgeGroup has 5 groups (1, 2, 3, 4, 5). I want to get a table to show the levels for all such categorical variables.
The question seems very easy, but in practice very difficult to get an easy solution.