16.20 - Protocol-function - 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

Protocol-function is a one-byte field that specifies the Two-phase commit optimizations that are being used.

This feature requires one of the following Teradata software releases:
  • Teradata Database for UNIX version 2 release 2 (or later)
  • Teradata DBS for TOS version 1 release 5 (or later)
In this language... The variable name for Protocol-function is...
COBOL DBCAREA-IWPF-FUNCTION
PL/I IWPF_FUNCTION
C, C++ iwpf_function
IBM Assembler DBRIPF
This routine... Does this for Protocol-function...
DBCHINI writes
DBCHCL reads (IWPF)
Protocol-function is used by... To...
applications write

You can set the following in IWPF:

M... Then set Protocol-function to
no Protocol-function is used 'N'
vote is to be appended 'V'
vote and terminate is to be appended 'T'

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