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.