880-INIT and 880-FIND Aggregate Range APIs

These two aggregate range routines are the older set of aggregate range routines that still exist for backwards compatibility. They work together to allow you to perform specific functions on one or more columns for a range of rows. The functions you can perform include average value for a column, maximum value for a column, minimum value for a column, and sum of a column.

You can use the aggregate range routines whenever you would otherwise use 850-FIND-SUBRNG-<Index> and 860-FIND-NXTRNG-<Index> to access a set of rows for the purpose of applying average, maximum, minimum, or sum functions against a column.

Use the aggregate range routines together.

Use the 880-INIT-DBAG-<Index> routine to initialize an aggregation request.

Use the 880-FIND-DBAG-<Index> routine to process an aggregation request against a data set.