IBM Books

Embedded SQL Programming Guide


Distributed Unit of Work with DB2 Connect

DB2 Connect allows you to update multiple databases within a single distributed unit of work (DUOW). Whether you can use this capability depends on several factors:

Notes:

  1. DB2 Common Server Version 2.1 databases can be updated with two-phase commit in a unit of work only when DB2 for OS/390 Version 5.1 is not the transaction manager database.

  2. If the TM_DATABASE for the transaction is DB2 for OS/390 Version 5.1, then DB2 CS V2.1 databases participating in that transaction become READ-ONLY for the client application.

  3. Mixed connection scenarios for DB2 Universal Database Version 5 client applications are only supported if DB2 for OS/390 Version 5.1 is the TM_DATABASE for the transaction. For further information refer to the chapter Setting Up Two-phase Commit Using TCP/IP in DB2 Connect Enterprise Edition Quick Beginnings.

  4. The database levels supported for two-phase commit transactions over TCP/IP depend on the Client Application Enabler level, the TM_DATABASE level, and the participant database levels.

    We strongly recommend that all clients accessing DB2 Universal Database Version 5 and DB2 for OS/390 Version 5 databases be at DB2 Universal Database Version 5 level. DB2 Version 2.1 clients cannot initiate two-phase commit transactions if DB2 for OS/390 Version 5 databases participate in the transaction.


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

[ DB2 List of Books | Search the DB2 Books ]