Much of the 2PC protocol is handled by interfaces and system services within CICS. CICS provides the following:
- Programming interfaces for communicating with and to synchronize the access to Teradata Databases with access to other CICS-managed resources
- System services to terminate a Teradata update
- Syncpoint manager that coordinates the rollback or commitment of all resources accessed in the logical unit of work.
The syncpoint manager uses the 2PC protocol to guarantee data consistency.You must start a Teradata Database in order to run a 2PC application.
Teradata transaction management operates differently on 2PC sessions than on non-2PC sessions. However, sessions in non-2PC mode are unaffected by the 2PC changes.
For more information on 2PC and CICS, refer to IBM’s documentation (IBM Database 2 CICS/VS Interface Guide).