View previous topic :: View next topic
|
Author |
Message |
Mohankalyan99
New User
Joined: 06 Apr 2005 Posts: 16
|
|
|
|
Hi,
Can anyone please let me know what is a Two Phase commit in CICS? and how we can use that?
Thanks
Kalyan. |
|
Back to top |
|
|
rpuhlman
New User
Joined: 11 Jun 2007 Posts: 80 Location: Columbus, Ohio
|
|
Back to top |
|
|
Mohankalyan99
New User
Joined: 06 Apr 2005 Posts: 16
|
|
|
|
Thanks Rick for your help.
I went thru that page, but still i'm in a confusion what actually it does.
As well in that link, it was mentioned with a Web Sphere interface. so fully confused.
So this, Two phase commit won't be used in a normal CICS/Cobol program ?
Thanks
Kalyan |
|
Back to top |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
A two-phase commit ensures that all nodes in a distributed environment have the same data. In a "normal" CICS/COBOL environment (and what is normal could be a L-O-N-G discussion) the only time it's needed is when there's a distributed database involved. If your database isn't distributed, you don't need two-phase commit. |
|
Back to top |
|
|
Mohankalyan99
New User
Joined: 06 Apr 2005 Posts: 16
|
|
|
|
Thanks Rob.
Now i understood what it is about. |
|
Back to top |
|
|
|