Protocol-function - 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
lifecycle
previous
Product Category
Teradata Tools and Utilities

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

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.