B. Building Encina Programs on UNIX : TRAN-C Considerations
 
Share this page                  
TRAN-C Considerations
If you develop Encina applications using TRAN-C instead of the Encina Monitor API, observe the following programming conventions:
Set scheduling policy to “exclusive.” To do this, call the “mon_SetSchedulingPolicy” routine with “MON_EXCLUSIVE” as the argument.
Do not change the setting for thread support. The default for thread support is “TMXA_SERIALIZE_ALL_XA_OPERATIONS.”
Your application must call “tmxa_RegisterRMI” once (and only once) for each RMI to be accessed by the application. These calls must be issued in the same thread, and must be issued before calling “tmxa_Init.” Use the following settings for “tmxa_RegisterRMI” parameters:
openInfo: valid open string (see Open String Argument - Binding to Database Servers in the chapter “Programming Ingres DTP Applications”)
closeInfo: same as openInfo