Enabling Two-phase Commit Protocol - Teradata Tools and Utilities

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

Product
Teradata Tools and Utilities
Release Number
17.10
Published
June 2021
Language
English (United States)
Last Update
2021-07-01
dita:mapPath
zwv1608578409227.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2417
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.