How to: |
By default, the number of characters that display for counter values retrieved using the COUNT and LIST commands is five. You can increase the number of characters to nine.
For example, if the number of records retrieved for a field exceeds 99,999 (5 bytes), asterisks appear in the report to indicate an overflow condition. You can increase the display to allow as large a count as 999,999,999 (9 bytes) using SET COUNTWIDTH.
Note: You can change the overflow character by issuing the SET OVERFLOWCHAR command.
SET COUNTWIDTH = {OFF|ON}
where:
The following example shows the COUNT command with SET COUNTWIDTH = OFF:
TABLE FILE filename COUNT Fldxx BY Fldyy END
Fldxx |
|
Fldyy |
COUNT |
value |
***** |
The following example shows the COUNT command with SET COUNTWIDTH = ON:
TABLE FILE filename COUNT Fldxx BY Fldyy END
Fldxx |
|
Fldyy |
COUNT |
value |
999999999 |
Note: This feature affects the width of a report when COUNTWIDTH is set to ON. Calculating the width of a report now requires an additional four display positions for each COUNT or LIST column.