Converting to and from a row format
Before the access method can return row values to a query, the access method must convert source data to data types that database server recognizes, native HCL Informix® data types, and user-defined data types (UDTs). The database server can recognize a UDT because the application registers it in the database with a CREATE TYPE statement.
To create a row:
The database server passes an MI_ROW structure to the am_insert and am_update purpose functions. To extract the values to insert or update, call mi_value() or mi_value_by_name(). For more information about these functions, see the HCL Informix DataBlade API Programmer's Guide.