![]() |
|
|
|
|
|
One case where you need to define new fields involves Suprtool summary functions:
>duplicate none keys total sales-amt
The totals are created in P28 format and appended to the end of the output record.
You can also use Suprtool to count records at sort breaks:
>duplicate none keys count
Suprtool creates a new four-byte integer field for the count value, which can be defined in QUIZ as follows:
>define numcust integer size 4 = 0
When you use the Define command in the process of creating the subfile, QUIZ allocates space for the new field and assigns it a logical name.