O'Reilly logo

PROC TABULATE by Example, Second Edition by Lauren Haworth Lake, Julie McKnight

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Break Your Problem Down Step-By-Step

Most problems can be solved by reading Decoding Error Messages and Incorrect Tables and How to Fix Them. PROC TABULATE code can be confusing to debug because TABLE statements are so complex. If you have a more stubborn problem, then it is helpful to break down your problem step-by-step. The following steps show you how to break a table down into its components, so that you can see what is going wrong.
Simplify the table.
If your table is not simple in design, the first step in debugging is to simplify you table. Sometimes the problem with a table is obvious if you look at the bare bones of the code. For example, the table created by the following code has a problem:
PROC TABULATE DATA=TEMP; CLASS OWNHOME ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required