MI_SETREQUEST mi_fp_request(fparam_ptr)
MI_FPARAM *fparam_ptr;
The database server sets the iterator-status field in an MI_FPARAM structure when the associated user-defined routine is an iterator function. The iterator status is one of three possible MI_SETREQUEST values.
Use the mi_fp_request( ) function in an iterator function to determine which of the preceding actions to perform for a given iteration.
See also the description of mi_fp_setisdone( ).
For more information on how to create and call iterator functions, see the IBM Informix: DataBlade API Programmer's Guide.