Was this helpful?
value_check Routine--Check for Valid Values
The value_check routine checks for valid values.
For some data types, only certain characters or bit patterns might be valid. This routine checks the patterns for validity. For example, this routine which rejects C data type values which contain null characters.
Place the address of this routine in the dtd_valchk_addr field of the IIADD_DT_DFN structure.
Inputs
The inputs for this function are:
scb
Pointer to a SCB
dv
Pointer to data value in question
Outputs
This function has no outputs. The return value (II_OK or II_ERROR) determines correctness.
Returns
II_STATUS
Last modified date: 08/14/2024