Required Routines for Data Type Definition
For each data type that you add, you must provide the following routines:
• compare
• dbtoev
• dhmax
• dhmin
• getempty
• hashprep
• helem
• hg_dtln
• hmax
• hmin
• keybuild
• length_check
• minmaxdv
• seglen
• tmcvt
• tmlen
• value_check
• xform
These routines are called using the following syntax:
status = fid_routine(scb, [arg1 [, arg2]], result)
The routines must return a 4-byte integer of type II_STATUS whose value represents the overall result of the function. A value of 0 (II_OK) means successful completion. A value of 5 (II_ERROR) means an error. In the case of an error, the query execution is terminated.