16.20 - Enabling Two-phase Commit Protocol - Teradata Tools and Utilities

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

prodname
Teradata Tools and Utilities
vrm_release
16.20
created_date
September 2019
category
Programming Reference
featnum
B035-2417-108K

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.