Was this helpful?
hmin Routine--Create Histogram Value for Minimum Value
This routine is used by the optimizer to obtain the histogram value for the smallest value of a type. For a discussion of histograms, see helem Routine.
Note:  The smallest value for the given data type is expected to be known implicitly by the routine.
Place the address of this routine in the dtd_hmim_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 SCB
dv_from
Pointer to a datavalue describing the type and length of the user-typed 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: 08/14/2024