The COMPUTAB Procedure |
Functional Summary |
Table 9.1 summarizes the COMPUTAB procedure statements and options.
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 indentation 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’ |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.