At startup time, the Execution Environment receives several parameters, including one that instructs it to start up a number of Gateways. The first request for data from an external DBMS is made when a TIBCO Object Service Broker transaction begins. An ODBC or Oracle connection is established (if one is not already extant) to facilitate the transaction.
When the TIBCO Object Service Broker transaction ends, the ODBC or Oracle transaction ends as well. If the TIBCO Object Service Broker transaction completes successfully, the Gateway gets a synchronization message and commits the changes. If the TIBCO Object Service Broker transaction fails, the Gateway rolls back the changes. If a TIBCO Object Service Broker rollback statement is issued, the Gateway receives a separate message that causes it to roll back and then terminate the transaction at synchronization time.
The Gateway starts as part of the start up procedure of the Execution Environment that it is configured to run within. When you start the Gateway, it connects only to TIBCO Object Service Broker. Connection to the external DBMS occurs on the first data access request. Because a separate Execution Environment is not required for the Gateways, you can combine the gateway parameters with other Execution Environment parameters.
TIBCO Object Service Broker for z/OS Installing and Operating and
TIBCO Object Service Broker for Open Systems Installing and Operating for additional information on configuration and operations.