The trigger buffer has two logical sections: a static section and a variable section.
The variable section contains areas for old record, old null byte map, new record, and new null byte map.
The following table provides a summary of the fields in the trigger buffer.
Offset | Type | Field | |
---|---|---|---|
Dec | Hex | ||
0 | 0 | CHAR(10) | Physical file name |
10 | A | CHAR(10) | Physical file library name |
20 | 14 | CHAR(10) | Physical file member name |
30 | 1E | CHAR(1) | Trigger event |
31 | 1F | CHAR(1) | Trigger time |
32 | 20 | CHAR(1) | Commit lock level |
33 | 21 | CHAR(3) | Reserved |
36 | 24 | BINARY(4) | CCSID of data |
40 | 28 | BIN(4) | Relative Record Number |
44 | 2C | CHAR(4) | Reserved |
48 | 30 | BINARY(4) | Original record offset |
52 | 34 | BINARY(4) | Original record length |
56 | 38 | BINARY(4) | Original record null byte map offset |
60 | 3C | BINARY(4) | Original record null byte map length |
64 | 40 | BINARY(4) | New record offset |
68 | 44 | BINARY(4) | New record length |
72 | 48 | BINARY(4) | New record null byte map offset |
76 | 4C | BINARY(4) | New record null byte map length |
80 | 50 | CHAR(*) | Reserved |
* | * | CHAR(*) | Original record |
* | * | CHAR(*) | Original record null byte map |
* | * | CHAR(*) | New record |
* | * | CHAR(*) | New record null byte map |