Parameter list for log capture routines
At invocation, registers are set, and the log capture routine uses the standard exit parameter list (EXPL). You can ignore the reason and return codes in that list.
The following is a list of the exit-specific parameters; it is mapped by macro DSNDLOGX. The parameter list contains two 64-bit pointers that point to the standard EXPL parameter list and to the log capture exit parameter list (LOGX).
Name | Hex offset | Data type | Description |
---|---|---|---|
LOGXEYE | 00 | Character, 4 bytes | Eye catcher: LOGX |
LOGXLNG | 04 | Signed 2-byte integer | Length of parameter list |
06 | Character, 10 bytes | Reserved | |
LOGXTYPE | 10 | Character, 1 byte | Situation identifier:
|
LOGXFLAG | 11 | Hex | Mode identifier.
|
12 | Character, 14 bytes | Reserved | |
LOGXRBUF | 20 | Character, 8 bytes | Range of consecutive log buffers:
|
LOGXBUFL | 28 | Signed 4-byte integer | Length of single log buffer (constant 4096) |
LOGXSSID | 2C | Character, 4 bytes | Db2 subsystem ID, 4 characters left justified |
LOGXSTIM | 30 | Character, 8 bytes | Db2 subsystem startup time (TIME format with DEC option: 0CYYDDDFHHMMSSTH) |
LOGXREL | 38 | Character, 3 bytes | Db2 subsystem
release level:
|
LOGXMAXB | 3B | Character, 1 byte | Maximum number of buffers that can be passed on one call. The value remains constant while Db2 is active. |
3C | Character, 8 bytes | Reserved | |
LOGXUSR1 | 44 | Character, 4 bytes | First word of a doubleword work area for the user routine. (The content is not changed by Db2.) |
LOGXUSR2 | 48 | Character, 4 bytes | Second word of user work area. |
LOGXSRBA | 4C | Character, 16 bytes | First log RBA, set when Db2 is started. The value remains constant while Db2 is active. |
LOGXARBA | 5C | Character, 16 bytes | Highest log archive RBA used. The value is updated after completion of each log archive operation. |
6C | Character, 12 bytes | Reserved |