MI_FPARAM argument

When the database server calls a user-defined routine, it passes an extra argument, MI_FPARAM, to the routine. The MI_FPARAM structure contains state information about the routine. Typically, you use the MI_FPARAM argument to test whether another argument is null, to set another argument to NULL, or to store iterated values. You access the values contained in the MI_FPARAM structure by using the accessor functions provided by the DataBlade® API.

While the code generated by BladeSmith contains the MI_FPARAM argument, in most cases it does not include code to access the value stored in the MI_FPARAM structure; you must add code to access these values. The generated code for routines that take null values and that are iterators do use the values in the MI_FPARAM structure.

For more information about the MI_FPARAM structure, see the Informix® DataBlade API Programmer's Guide.