not too sure what is MQ, maybe it is out scope of DB2 itself...
from pure db2 implementation, i beleive XA will works for your situation, the XA transaction can be used to update the data in different databases.
here XA (two-phase commit) is something like "indoubt transactions" (An indoubt transaction is a global transaction that was left in an indoubt state), usually it can be used to update the data between different databases. (for example, i need to update the data in database A and B, i will connect to database A, start transaction, update the table TA, connect to database B, update the table TB, commit transaction or rollback, then i will get table TA and TB both committed or rollback)
also fedarated system is another choice, but creating more than 20 or more wrappers and nicknames will make the database harder to manage....
but please notice that DUOW only work for the following system:
DB2 UDB for UNIX(R) and Windows(R) Version 7 or later
DB2 UDB for OS/390 Version 6.1 DB2 UDB for OS/390 and z/OS(TM) Version
DB2 for z/OS Version 8 or later
DB2 UDB for iSeries(TM) requires OS/400 Version 5 Release 1 or later
fedarated system can fedarate different types of databases like Oracle or SQL servers
寒,不清楚你是否真的看懂了,有两种方法可以实现
1)XA
2)联邦系统
XA的好处就是相对简单方便,联邦系统的好处就是可以兼容其他类型数据库
“creating more than 20 or more wrappers and nicknames will make the database harder to manage”指的是联邦系统