Enabling Two-phase Commit Protocol - Teradata Tools and Utilities

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

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Tools and Utilities
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-11-17
dita:mapPath
oxw1641281447623.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
vfj1470443597526
Product Category
Teradata Tools and Utilities

The CLIv2 application specifies whether it is using the Two-phase commit protocol at connect time. There is no limit to the number of sessions running in either mode, other than the maximum number allowed for the system.

To initiate the protocol for a session, the application can perform either of the following actions:

  • Set the Two-phase-commit DBCAREA option and execute a CLIv2 Connect function in the individual application.
  • Set Two-phase commit as the default for all applications through the HSHSPB.
To use this option as the default mode... Specify this setting in IBO2PC in the system parameter block (HSHSPB)...
Two-phase commit Y
non-Two-phase commit N

If any value is set for the Two-phase-commit DBCAREA option, the HSHSPB protocol setting is ignored.