IBM Books

DB2 Connect User's Guide


Distributed Unit of Work

Distributed unit of work allows an application to access more than one database within a unit of work; that is, the application can switch between databases before committing the data. This gives an application programmer the ability to do work involving multiple databases, local and remote, at the same time.

DB2 Connect always lets you read multiple databases within a unit of work. Whether you can update multiple databases depends on the products you are using:

Note:If a single DB2 Connect Enterprise Edition gateway will be used to access host data using both SNA and TCP/IP network protocols and two phase commit is required, then the DB2 Syncpoint Manager must be used. This is true for both DB2 Applications and TP Monitor applications.

In order to take advantage of distributed unit of work support, you must be familiar with the concepts described in the Administration Guide and the SQL statements described in the SQL Reference.

For more information about two-phase commit, see:

For more information about Transaction Monitors, and setting up a TP monitor environment, see:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]