Syntax: COMPUTAB Procedure

The following statements are used with the COMPUTAB procedure:

BY variables ;
COLUMNS names / options ;
ROWS names / options ;
CELL names / FORMAT= format ;
INIT anchor-name locator-name values locator-name values ;
programming statements ;
SUMBY variables ;

The PROC COMPUTAB statement is the only required statement. The COLUMNS, ROWS, and CELL statements define the COMPUTAB table. The INIT statement initializes the COMPUTAB table values. Programming statements process COMPUTAB table values. The BY and SUMBY statements provide BY-group processing and consolidation (roll up) tables.