.Width Statement—Set Output Width of a Column
The .width statement sets a default output width associated with a column.
This statement has the following format:
.width | .wid columnname{, columnname} (width)
{, columnname}{, columnname} (width)}
The parameters for the .width statement are as follows:
columnname
The name of a column in the report. You can specify the column name as a delimited identifier by enclosing it in double quotes ("), if you have previously specified the .delimid statement.
width
The width, which is the total number of characters in the column to be used when calculating the positioning for the .center and .right statements. If not specified, Report-Writer determines this numeric by looking at the default format for the column.
The columnname and width can be expressed as variables. The comma (,) and parentheses ( ) must be explicitly stated and cannot be part of the columnname or width variable.
$columnvariable
Variable whose value is the name for a column in the report. Precede the variable with a dollar sign ($).
$widthvariable
Variable whose value is the default width, which is the total number of characters in the column to be used when calculating the positioning for .center and .right statements. If not specified or evaluated, Report-Writer determines this value is determined by looking at the default format for this column.