COMPUTAB Procedure
Functional Summary
Table 1 summarizes the COMPUTAB procedure statements and options.
Table 1: COMPUTAB Functional Summary
| Description | Statement | Option |
|---|---|---|
| Statements | ||
| Specify BY-group processing | BY | |
| Specify the format for printing a particular cell | CELL | |
| Define columns of the report | COLUMNS | |
| Initialize values in the COMPUTAB data table | INIT | |
| Define rows of the report | ROWS | |
| Produce consolidation tables | SUMBY | |
| Data Set Options | ||
| Specify the input data set | COMPUTAB | DATA= |
| Specify an output data set | COMPUTAB | OUT= |
| Input Options | ||
| Specify a value to use when testing for 0 | COMPUTAB | FUZZ= |
| Initialize the data table to missing | COMPUTAB | INITMISS |
| Prevent the transposition of the input data set | COMPUTAB | NOTRANS |
| Printing Control Options | ||
| Suppress printing of the listed columns | COLUMNS | NOPRINT |
| Suppress all printed output | COMPUTAB | NOPRINT |
| Suppress printing of the listed rows | ROWS | NOPRINT |
| Suppress columns with all 0 or missing values | COLUMNS | NOZERO |
| Suppress rows with all 0 or missing values | ROWS | NOZERO |
| List option values | COMPUTAB | OPTIONS |
| Overprint titles, values, overlining, and underlining associated with listed rows | ROWS | OVERPRINT |
| Print only consolidation tables | COMPUTAB | SUMONLY |
| Report Formatting Options | ||
| Specify number of decimal places to print | COMPUTAB | CDEC= |
| Specify number of spaces between columns | COMPUTAB | CSPACE= |
| Specify column width for the report | COMPUTAB | CWIDTH= |
| Overline the listed rows with double lines | ROWS | DOL |
| Underline the listed rows with double lines | ROWS | DUL |
| Specify a format for printing the cell values | CELL | FORMAT= |
| Specify a format for printing column values | COLUMNS | FORMAT= |
| Specify a format for printing the row values | ROWS | FORMAT= |
| Left-align the column headings | COLUMNS | LJC |
| Left-justify character rows in each column | ROWS | LJC |
| Specify indention from the margin | ROWS | +n |
| Suppress printing of row titles on later pages | COMPUTAB | NORTR |
| Overline the listed rows with a single line | ROWS | OL |
| Start a new page before printing the listed rows | ROWS | _PAGE_ |
| Specify number of spaces before row titles | COMPUTAB | RTS= |
| Print a blank row | ROWS | SKIP |
| Underline the listed rows with a single line | ROWS | UL |
| Specify text to print if column is 0 or missing | COLUMNS | ZERO= |
| Specify text to print if row is 0 or missing | ROWS | ZERO= |
| Row and Column Type Options | ||
| Specify that columns contain character data | COLUMNS | CHAR |
| Specify that rows contain character data | ROWS | CHAR |
| Options for Column Headings | ||
| Specify literal column headings | COLUMNS | 'column heading' |
| Use variable labels in column headings | COLUMNS | _LABEL_ |
| Specify a master title centered over columns | COLUMNS | MTITLE= |
| Use column names in column headings | COLUMNS | _NAME_ |
| Options for Row Titling | ||
| Use labels in row titles | ROWS | _LABEL_ |
| Use row names in row titles | ROWS | _NAME_ |
| Specify literal row titles | ROWS | 'row title' |
The following sections describe the PROC COMPUTAB statement and then describe the other statements in alphabetical order.
Last updated: June 19, 2025