Was this helpful?
hmax Routine--Create Histogram Value for Maximum Value
This routine is used by the optimizer to obtain the histogram value for the largest value of a type. Place the address of this routine in the dtd_hmax_addr field of the IIADD_DT_DFN structure. If the II_DT_NOHISTOGRAM attribute is present, then this routine is not necessary.
Inputs
The inputs for this function are:
scb
Pointer to an SCB
dv_from
Pointer to a datavalue describing the type and length of the desired histogram value
dv_histogram
Pointer to a datavalue for the histogram
Outputs
The outputs for this function are:
*(dv_histogram-db_data)
Contains the histogram value
Returns
II_STATUS
Last modified date: 04/03/2024