The session environment describes the current session, which includes the database server and open database that are in effect when the client application called the SQL statement that contains the UDR. The UDR obtains its session environment when it obtains a connection descriptor with the mi_open( ) function.
The following DataBlade API functions provide information about the session environment of a UDR.
The session environment also includes the following locale information:
You can obtain the name of the server locale from the connection-information descriptor (MI_CONNECTION_INFO) with the mi_get_connection_info( ) or mi_get_default_connection_info( ) function. For more information on these locales, see the IBM Informix: GLS User's Guide.