Create a One-Dimensional Table That Runs Vertically

When you build a one-dimensional table, PROC TABULATE takes your table definition and builds a table with a single row and many columns. There is no option to ask for a one-dimensional table that has a single column and many rows.
This can be a problem if your table turns out to be extremely wide. When your table becomes too wide for the page, PROC TABULATE generates a "Continued" message and builds the additional columns on a second page. This makes your table hard to read.
For example, take the following table. This shows the number of observations in the data set for each occupation:
PROC TABULATE DATA=TEMP;
   CLASS OCCUP;
   TABLE OCCUP=' '*N*F=15.;
RUN;
In Output 14.12, you can see that ...

Get PROC TABULATE by Example, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.