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.