Two-phase commit - Teradata Tools and Utilities

Teradata® Call-Level Interface Version 2 Reference for Mainframe-Attached Systems - 20.00

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Tools and Utilities
Release Number
20.00
Publication Date
October 2023
Content Type
Programming Reference
Publication ID
B035-2417-103K
ft:locale
en-US
ft:lastEdition
2025-11-21
dita:mapPath
apo1695647516691.ditamap
dita:ditavalPath
obe1474387269547.ditaval
ft:sourceId
dita
dita:id
vfj1470443597526
Product Category
Teradata Tools and Utilities

Two-phase commit is a one-byte field that specifies whether the session is using the Two-phase commit protocol. When Two-phase commit 'Y' is specified, Connect-type 'C' must also be specified.

In this language... The variable name for Two-phase commit is...
COBOL DBCAREA-TWO-PHASE-COMMIT
PL/I TWO_PHASE_COMMIT
C, C++ two_phase_commit
IBM Assembler DBO2PC
This routine... Does this...
DBCHINI writes
DBCHCL reads (CON)
Two-phase commit is used by... To...
applications write

Two-phase commit can be set to either 'Y' or 'N'.

If the application... Then set Two-phase commit to...
uses the Two-phase commit protocol Y
does not use the Two-phase commit protocol N

Use mnemonics for the codes. Mnemonics are provided in the language definition file for the DBCAREA.

Two-phase commit is not valid with ANSI Transaction-semantics.