Locale-sensitive receive and send support functions
The SENDRECV (and mi_sendrecv) data type holds the internal
structure of an opaque type. This internal structure can contain the
following types of locale-sensitive data:
- Character fields that can hold data in the code set of the client
or database locale
This data includes single-byte (ASCII and non-ASCII) and multibyte character data.
- Monetary, date, or time fields that hold a locale-specific representation of the data
The client application has no way of interpreting the fields of the internal structure because an opaque type is encapsulated.
The SENDRECV data type holds opaque-type data as it is transferred to and from the database server in this internal representation. You must write the receive and send support functions to interpret the locale-specific data within the SENDRECV structure.