15.10 - 2PC - Call-Level Interface Version 2

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

prodname
Call-Level Interface Version 2
vrm_release
15.10
category
Programming Reference
featnum
B035-2417-035K

2PC is a one byte field that specifies whether the session is using the 2PC protocol. When 2PC 'Y' is specified, Connect‑type 'C' must also be specified.

This feature requires Teradata Database for UNIX version 2 release 2 (or later), or Teradata DBS for TOS version 1 release 5 (or later).

 

In this language...

The variable name for 2PC is...

COBOL

DBCAREA‑TWO‑PHASE‑COMMIT

PL/I

TWO_PHASE_COMMIT

C

two_phase_commit

IBM Assembler

DBO2PC

 

This routine...

Does this...

DBCHINI

writes

DBCHCL

reads (CON)

 

2PC is used by...

To...

applications

write

2PC can be set to either 'Y' or 'N'.

 

If the application...

Then set 2PC to...

uses the 2PC protocol

Y

does not use the 2PC protocol

N

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

Note: 2PC is not valid with ANSI transaction semantics.