Set the OPTMSG environment variable at runtime before you start an IBM Informix ESQL/C application to enable (or disable) optimized message transfers (message chaining) for all SQL statements in an application.
.-0-. >>-setenv--OPTMSG--+-1-+---------------------------------------><
The default value is 0 (zero), which explicitly disables message chaining. You might wish, for example, to disable optimized message transfers for statements that require immediate replies, for debugging, or to ensure that the database server processes all messages before the application terminates.
When you set OPTMSG within an application, you can activate or deactivate optimized message transfers for each connection or within each thread. To enable optimized message transfers, you must set OPTMSG before you establish a connection.
For more information about setting OPTMSG and defining related global variables, see the IBM Informix: ESQL/C Programmer's Manual.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]