"Type of Name Is Unknown"

When you get a message saying that the "ERROR: The type of name (__________) is unknown," you are in luck. This is one of the easiest errors to fix. When you get this message, it means that you have a problem with one of the variables in the TABLE statement. PROC TABULATE even tells you which one is causing the problem.
For example, the following code produces the error message that is shown here:
PROC TABULATE DATA=TEMP;
   CLASS EDUC;
   VAR INCOME;
   TABLE EDUC CTRY, INCOME*MEAN;
RUN;
Log 16.1 Error Message Indicating Problem with Row Variable
1599 PROC TABULATE DATA=work.samples; 1600 CLASS EDUC; 1601 VAR INCOME; 1602 TABLE EDUC CTRY, INCOME*MEAN; 1603 RUN; The type of name (CTRY) is unknown. NOTE: The SAS System stopped ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.