Using the linkage stack to identify the failing module
A linkage stack for a task represents the sequence in which modules and subroutines were called during execution of a task. It provides a valuable insight into the sequence of events up until the time of failure, and it also flags any program or subroutine that was executing when the error was detected.
About this task
Figure 1 shows a typical kernel linkage stack.
Figure 1. Example of a kernel linkage stack showing a task
in error
KE_NUM @STACK LEN TYPE ADDRESS LINK REG OFFSET ERR NAME
0090 2A83F040 01E0 Bot 28F03C00 A8F04230 000630 DFHKETA
0090 2A83F220 03E0 Dom 28F20900 A8F20B76 000276 DFHDSKE
0090 2A83F600 1130 Dom 28F54BC8 A8F56168 0015A0 DFHXMTA
0090 2A840730 0AA0 Dom 296150C8 A9616546 00147E DFHPGPG
Int +0003CA A96152AE 0001E6 INITIAL_LINK
0090 2A8411D0 0E90 Dom 2998BA00 A9380644 000000 *Y* DFHAPLI1
Int +002B4E A998C77A 000D7A CICS_INTERFACE
0090 2A842060 06C0 Sub 29380A58 A9381E2E 0013D6 DFHSRP
0090 2A842720 1290 Dom 28FAB880 28FB02CD 004A4D DFHMEME
Int +003D82 28FABB6A 0002EA SEND
Int +001840 28FAF6EA 003E6A CONTINUE_SEND
0090 2A8439B0 06F0 Dom 2906B5B8 A906D0E0 001B28 DFHDUDU
Int +000C6C A906B7CA 000212 SYSTEM_DUMP
Int +001AE6 A906C63E 001086 TAKE_SYSTEM_DUMP
Procedure
What to do next
- A kernel domain call
- A kernel subroutine call
- A call to an internal procedure identified to the kernel
- A LIFO call