To understand PROC TABULATE
fully, you have to start very simply. The simplest table possible
in PROC TABULATE has to have three things:
-
a PROC TABULATE statement
-
-
a CLASS or VAR statement. In this
example, we use a VAR statement. Later examples show the CLASS statement.
The following steps
take you through the process of creating a simple table:
-
The first part of the
procedure is the PROC TABULATE statement. The minimum syntax for this
statement is:
This syntax assumes
that the table will be run with the most recently created data set.
However, if there is no current data set, you get the error message
shown in the following sample log:.