The FIELDS parameter defines the numeric fields to be summed when the control fields of two or more records are equal. Specify FIELDS=NONE to reduce the sorted data to one record per sort key without summing any numeric fields.
p |
The position value indicates the first byte of the field relative to the beginning of the input record after INREC and/or E15 processing, if specified, have completed. The field must begin on a byte boundary. |
l |
The length value indicates the length of the field. The length must be an integer number of bytes. Refer to Permissible Formats and Lengths for SUM Fields for the permissible lengths. |
f |
The format value indicates the data format. Permissible Formats and Lengths for SUM Fields lists the valid data formats for SUM fields. If all the summed fields have the same format, you can specify the format value once by using the FORMAT=f subparameter. If both the individual f values and the FORMAT subparameter are specified, the individual f values will be used for fields where they are specified. |
|