|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
  |
|
Two phase commit with MQ & DB2 in COBOL on z/OS |
View previous topic :: View next topic |
Author |
Message
|
RatherBeGolfing |
Posted: Fri Nov 21, 2003 11:55 am Post subject: Two phase commit with MQ & DB2 in COBOL on z/OS |
|
|
 Centurion
Joined: 12 Nov 2002 Posts: 118 Location: Syracuse, NY, USA
|
I know if I issue an MQCMIT that both my outstanding DB2 updates/inserts/deletes will be "hardened" as well as my uncommitted MQ messages will be committed.
The question is if I code an "EXEC SQL COMMIT WORK END-EXEC" statement will this have the same effect? Or will just my DB2 stuff be committed and not my MQ?
Thanks in advance,
Larry
IBM MQ Certifiable |
|
Back to top |
|
 |
jlamond |
Posted: Wed Dec 10, 2003 3:54 am Post subject: |
|
|
Voyager
Joined: 28 May 2002 Posts: 94 Location: Paris
|
Hi,
May be you should look at the following :
Resource Recovery Services (RRS)
This may affect Task 18 in Chapter 2, “Customizing your queue managers”,
on page 7.
You can migrate your existing batch/TSO WebSphere MQ applications to
exploit RRS coordination with little or no application program change. If
you link-edit your WebSphere MQ application with the CSQBRRSI adapter,
MQCMIT and MQBACK synchronize your unit of work across
WebSphere MQ and all other RRS-enabled resource managers. If you
link-edit your WebSphere MQ application with the CSQBRSTB adapter,
you must change MQCMIT and MQBACK to SRRCMIT and SRRBACK.
Version 5.3.1 continues to support the non-RRS managed batch adapter in
addition to supporting the RRS managed adapter. Thus different versions
of WebSphere MQ queue managers can coexist on the same z/OS image.
Regards,
JM _________________ Jean-Marc |
|
Back to top |
|
 |
|
|
  |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|