EXTREME Debugging
EXTREME Debugging
Ed Addison
IBM
Thursday, August 15 2013
Session 13345
DEBUG EXAMPLE ONE
2
ABEND0C4 / AKEA / AFCZ
• AKEA
• Explanation: A program check has been detected by the kernel (KE) domain.
• System Action: If an application is in control, the ASRA abend is presented to the application. Otherwise, the
functional recovery routine of the CICS module in control at the time is given control. This recovery routine
produces suitable diagnostics and may terminate CICS.
• User Response: Look at the kernel domain section of the system dump to determine where the program
check has occurred.
• AFCZ
• Explanation: The transaction issued a file request resulting in a call to the main file control program
(DFHFCFR). A "disastrous error" response was returned from DFHFCFR to its caller.
• System Action: At the time the error is detected, CICS writes a message to the console, records an exception
trace entry, and takes a system dump. The trace and dump identify the point of error. Subsequently, the task is
abnormally terminated with a CICS transaction dump.
• User Response: The system programmer should use the trace and dumps to determine what the error is, and
why it has occurred.
IBM Software Group
Ed Addison 5
5
IBM Software Group
You may change any of the defaults listed below. The defaults shown before
any changes are LOCAL. Change scope to GLOBAL to display global defaults.
If you change the Source default, IPCS will display the current default
Address Space for the new source and will ignore any data entered in
the Address Space field.
Ed Addison 6
6
IBM Software Group
MACHINE vs. NOMACHINE
7 Ed Addison 7
7
IBM Software Group
Ed Addison 8
8
IBM Software Group
===> ST SYS
Ed Addison 9
9
IBM Software Group
Note: Original Dump Dataset name and Incident Token matches messages seen on SYSLOG
Ed Addison 10
10
IBM Software Group
Ed Addison 11
11
IBM Software Group
CICS660 OPERANDS:
KE
ASID(hex): JOBNAME:
0044 IYNXA
DUMPID: 17/0001
DUMPCODE: FC0001
MESSAGE: DFHFC0001 IYNXA An abend (code 0C4/AKEA) has occurred at offset X'FFFF' in module DFHFCVR.
TITLE: (None)
CALLER: (None)
ASID: X'0044'
Ed Addison 12
12
IBM Software Group
Find ‘004B ’ ‘
004B 1564F020 0170 Bot 93B01F00 93B02316 000416 DFHKETA
004B 1564F190 0380 Dom 93B1C268 93B1C480 000218 DFHDSKE
004B 1564F510 0880 Dom 93B44D08 93B46048 001340 DFHXMTA
004B 1564FD90 0620 Dom 94A0B9A8 94A0C998 000FF0 DFHPGPG
Int +0002DC 94A0BB3A 000192 INITIAL_LINK
004B 156503B0 0D40 Dom 94D09000 800829CC 000000 DFHAPLI1
Int +00265C 94D09B82 000B82 CICS_INTERFACE
004B 156510F0 0500 Sub 94CE8300 94CE9AE8 0017E8 DFHEIFC
Int +001458 94CE87E6 0004E6 CALL_FCFR
004B 156515F0 08F0 Dom 950EDA00 950F4032 006632 DFHFCFR
Int +0045DE 950EE25E 00085E ACCMTEST
004B 15651EE0 0A30 Sub 952D8E00 952DEFFE 0061FE DFHFCVS
Int +002E20 952D93A4 0005A4 PROCESS_INTO_REQUEST
Int +00313E 952DBC7C 002E7C READ_RECORD
Int +006172 952DBF66 003166 VSAM
004B 15652910 09E0 Sub 952E7090 952E839E 00130E *Y* DFHFCVR
004B 156532F0 0EA0 Dom 93B911F0 93B94EF0 003D00 DFHMEME
Int +003C34 93B927B8 0015C8 TAKE_A_DUMP_FOR_CALLER
004B 15654190 0670 Dom 93C34CD8 93C368EC 001C14 DFHDUDU
Int +000C76 93C34EEE 000216 SYSTEM_DUMP
Int +001BDE 93C35E54 00117C TAKE_SYSTEM_DUMP
Ed Addison 13
13
IBM Software Group
0000 F0C3F461 C1D2C5C1 018400C4 0000FFFF C4C6C8C6 C3E5D940 152E7090 146F5080 *0C4/AKEA.d.D...DFHFCVR 13C87618
0020 0005E700 15647700 00000004 00000010 078D1000 8370181C 00020010 40404000 *..X.................c 13C87638
0040 8370181C 80800000 00000000 00000000 00000000 158163E8 00000000 1469635C *c................... 13C87658
0060 00000000 146B0158 00000000 40404040 00000000 00000017 00000000 2732496F *.....,...... .... 13C87678
0080 00000000 00000017 00000000 0000096F 00000000 0000D4C2 00000000 03701F01 *...............?.... 13C87698
Ed Addison 14
14
IBM Software Group
PSW: 078D1000 8370181C Instruction Length: 2 Interrupt Code: 10 Exception Address: 40404040
REGS 13C87660
PSWDATA 0370181C
Ed Addison 15
15
IBM Software Group
ABEND0C4 / AKEA / AFCZ What we know so far
CICS Region IYNXA received ABEND0C4 / AKEA at offset X'FFFF' in module DFHFCVR
CICS Region IYNXA produced a FC0001 System Dump
Transaction MESS transaction number 00051 with TCA address 0005E700 received
abend0C4 / AKEA/ AFCZ in program MESSITUP
Program Status Word (PSW) for ABEND0C4 was 078D1000 8370181C
Exception Address was 40404040
Program DFHFCVR was in control, but the PSW was elsewhere
Ed Addison 16
16
IBM Software Group
PGM NAME ENTRY PT CSECT LOAD PT. REL. PTF LVL. LAST COMPILED COPY NO. USERS LOCN TYP ATTRIBUTE R/A MODE
IP L 0370181C L(x’1000’)
******************************************************** TOP OF DATA **************************************
LIST 0370181C. ASID(X'0044') LENGTH(X'03E8') AREA
0370181C. LENGTH(X'03E8')==>Storage not available
******************************************************** END OF DATA **************************************
IP WHERE 0370181C
******************************************************** TOP OF DATA ****************************
ASID(X'0044') 0370181C. IDA019L1+03881C IN EXTENDED PLPA
******************************************************** END OF DATA ****************************
Ed Addison 17
17
IBM Software Group
ABEND0C4 / AKEA / AFCZ What we know so far
CICS Region IYNXA received ABEND0C4 / AKEA at offset X'FFFF' in module DFHFCVR
CICS Region IYNXA produced a FC0001 System Dump
Transaction MESS transaction number 00051 with TCA address 0005E700 received
abend0C4 / AKEA/ AFCZ in program MESSITUP
Program Status Word (PSW) for ABEND0C4 was 078D1000 8370181C
Exception Address was 40404040
Program DFHFCVR was in control, but the PSW was elsewhere
PSW was in VSAM Load Module IDA019L1 offset x’03881C’
Ed Addison 18
18
IBM Software Group
AP E160 EXEC ENTRY READ FILE('BIGG ' AT X'16610148') INTO( AT X'40404040') LENGTH(200 AT X'001406AC') RIDFLD( AT X'80140894')
EQUAL NOHANDLE ASM
Ed Addison 19
19
IBM Software Group
Ed Addison 20
20
IBM Software Group
Ed Addison 21
21
IBM Software Group
Ed Addison 22
22
IBM Software Group
ASID(X'0044')
Command ===> L 140648
Note: Registers 14 through 12 are stored in the Application Savearea at offset X’C’
when a CICS call is issued.
Register 14 will point to where the CICS call was issued from.
Register 1 will contain the parameters when the CICS call was issued.
Ed Addison 23
23
IBM Software Group
Note: Register 14 will point to where the CICS call was issued from. Backing up from Register
14 will tell you the module that made the call.
Ed Addison 24
24
IBM Software Group
Note: Register 1 will point to the parameters when CICS was called.
Ed Addison 25
25
IBM Software Group
ABEND0C4 / AKEA / AFCZ What we know
CICS Region IYNXA received ABEND0C4 / AKEA at offset X'FFFF' in module DFHFCVR
CICS Region IYNXA produced a FC0001 System Dump
Transaction MESS transaction number 00051 with TCA address 0005E700 received
abend0C4 / AKEA/ AFCZ in program MESSITUP
Program Status Word (PSW) for ABEND0C4 was 078D1000 8370181C
Exception Address was 40404040
Program DFHFCVR was in control, but the PSW was elsewhere
PSW was in VSAM Load Module IDA019L1 offset x’03881C’
Program MESSITUP issued EXEC CICS READ on file BIGG and passed 40404040 as the
INTOAREA.
Ed Addison 26
26
2
7 IBM Software Group
27
IBM Software Group
28
Problem Two
Customer called Support Center indicating access to their main production File
EDZFILE stalled
IPCS Option 6 (Command) ‘ST SYS’ shows:
SYSTEM STATUS:
Nucleus member name: IEANUC01
Sysplex name: EDZPLEX
TIME OF DAY CLOCK: BD969635 343B9A40 16:16:45.011897 local
TIME OF DAY CLOCK: BD96C9D0 C1DE4040 20:07:38.329572 GMT
Program Producing Dump: SVCDUMP
Program Requesting Dump: DFHKETCB
29
Problem Two - VERBX DFHPD630 ‘DS=3’
DS_TOKEN KE_TASK T S F P TT RESOURCE RESOURCE_NAME W TIME OF TIMEOUT DTA AD ATTACHER M SUSPAREA XM_TXN_TOKEN
TYPE SUSPEND DUE (DSTSK) TOKEN
Note: None of the tasks have a TIMEOUT DUE value. This indicate the transactions do not have DTIMOUT coded.
31
Problem Two
FCPSWAIT
Waiting on a VSAM String
CICS commands that hold strings
Read for Update
– Released at Rewrite, Delete without RIDFLD, Unlock
StartBrowse / ReadNext / ReadPrev / ResetBrowse
– Released at EndBrowse or Unlock
MassInsert
– Released at Unlock
Generic Delete
– Released when all records are deleted
Which tasks own the Strings for File EDZFILE?
32
Problem Two - Example of FCPSWAIT
CEDA DEFINE
FILE(EDZFILE)
STRINGS: 2
FCTE EDZFILE
Task 1
EXEC CICS
STRING VSWA 1 PLH 1 BUFFER
READ
Count Less
FILE(EDZFILE)
Than 2?
UPDATE
33
Problem Two – FCPSWAIT - ‘FCP=3’
Find EDZFILE
==FCP: FILE CONTROL TABLE ENTRIES
ADDRESS FILENAME ACC TYPE MODE RLS LSR REM SLG SREQS STATUS JID DSNB-OBJ DSNB-BAS FR FRL TIME OPEN
________________________________________________________________________________________________________________
0A61BD98 BATCHFIL VSAM KSDS BASE NO 1 NO YES RUADB OPEN ENA 0 0A61AD30 0A61AD30 YES 2 9/09/05 06:57:03
0A61C030 DDDFILE VSAM KSDS PATH NO 1 NO YES RUADB OPEN ENA 0 0A61AE00 0A61AD30 YES 2 9/09/05 06:57:03
0A61C510 EDZFILE VSAM KSDS BASE NO 1 NO YES RUADB OPEN ENA 0 0A61D1D0 0A61D1D0 YES 2 9/09/05 06:57:12
0A61C648 FFFFILE VSAM KSDS BASE NO 1 NO YES RUADB OPEN ENA 0 0A61D2A0 0A61D2A0 YES 2 9/09/05 06:57:12
0A61C780 GGGFILE VSAM KSDS BASE NO 1 NO YES RUADB OPEN ENA 0 0A61D370 0A61D370 YES 2 9/09/05 06:57:12
NOTE: EDZFILE has SLG set to YES. This indicates all updates to this file are to use the System Log for backout purposes. This makes EDZFILE
a recoverable file.
34
Problem Two – FCPSWAIT - ‘FCP=3’ FCTE
0000 C5C4E9C6 C9D3C540 00000000 00000000 00000000 0134BA0A 8001440A 84000000 *EDZFILE ...................*
0020 00000000 40000000 00800000 00004000 00000000 00000000 00000000 001EC70F *.... ......... ..........G.*
0040 001EC5D3 00000000 0000057E 00000000 00000000 BD961923 E89B7640 00000000 *..EL.......=.........o.....*
0060 0A61D1D0 0A61D1D0 0A4362E0 00000000 00000000 00000000 00000000 00000000 *./J}./J}...\...............*
0080 0801A804 01008000 000C001F 000F000C 0000001F 00000000 001F0001 0000046C *..y.......................%*
00A0 00000000 0010000F 0A41FDF0 40000200 00000000 00000000 40404040 40404040 *...........0 ........... *
00C0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 *...........................*
00E0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 *...........................*
0100 00000000 40404040 40404040 40404040 40404040 00000000 00000000 00000000 *.... .......*
0120 00000000 00000000 00000000 00000000 00000000 *.................... *
FCTE OFFSETS
Note: All 12 strings for non-direct Reads are active. There are 31 tasks waiting for a string to file EDZFILE
35
Problem Two – What We Know So Far
36
Problem Two – FCPSWAIT - ‘FCP=3’ DSNB and VSWAs
DSNB 0A61D1D0 DATASET NAME BLOCK
0000 C4E2D56D C2D3D27A C5C4E9C6 C9D3C54B D2E2C4E2 40404040 40404040 40404040 *DSN_BLK:EDZFILE.KSDS *
0020 40404040 40404040 40404040 40404040 40404040 0000016B 0000016B 00011DD2 * ...,...,...K*
0040 80000000 00010001 F902000A 00000000 00004800 0DBCC2C0 00000000 00010000 *........9.............B{........*
0060 01400000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 *. ..............................*
0080 00000000 0A61C510 0000082C 10404040 40404040 40404040 40404040 40404040 *...../E.........................*
00A0 40404040 40404000 00000000 00000000 00000000 0A61C510 00000000 00000000 *... ............../E.........*
00C0 00000000 00000000 00000000 *............ *
0000 8F400160 40404040 0000004C 00000000 00000000 00000000 00010000 00000000 *. .- ...<....................*
0020 0A41FDF0 00000000 00000000 09FF42E8 40820000 00000000 0000046C 0000046C *...0...........Y.e.........%...%*
0040 00000000 00000000 00000000 00000080 0DBCC3A0 0A61C510 0DBCC380 0DBCC390 *..................C../E...C...C.*
0060 000E000A 00000000 00000000 8000000A 00000000 00000000 0DB9FB00 00000000 *................................*
0080 00000000 00000000 00000000 00D00000 00000003 00000000 00000000 0DBBF080 *.............}................0.*
00A0 0DBB7300 00010000 00000000 00000000 00000000 C1C1C1C1 C1C1C1C1 *....................AAAAAAAA *
NOTE: PLH Address of 00000000 indicates this VSWA is not connected to a VSAM String.
The Task associated to this VSWA would be in a FCPSWAIT waiting for a VSAM String.
37
Problem Two – FCPSWAIT - VSWA Owning a String
VSWA 0B398570 VSAM WORK AREA
0000 8F000160 00000000 0000004C 0E8294AC 40000000 00000000 00010000 00000000 *...-.......<.bm. ..........*
0020 0A41FDF0 00000000 0D4B34A0 0D4B34A0 40820000 00000000 0000046C 0000046C *...0.............e....%...%*
0040 00000000 00000000 00000000 00000080 0B398650 0A61C510 0B398630 0B398640 *..................f&.f...f *
0060 000E000A 00000000 00000000 B000000A 00000000 00000000 0B382830 0B398DB0 *...........................*
0080 00000000 00000000 00000000 00C80001 00000000 00000000 26850000 097A5680 *.............H......e...:..*
00A0 0B3910A8 00010000 00000000 00000000 00000000 C1C1C1C1 C1C1C1C1 *...............AAAAAAAA *
0000 8F000160 00000000 0000004C 0E8290BC 40000000 00000000 00010000 00000000 *...-....b.. ...............*
0020 0A41FDF0 00000000 0D443910 0D443910 40820000 00000000 0000046C 0000046C *...0........e.........%...%*
0040 00000000 00000000 00000000 00000080 0B382910 0A61C510 0B3828F0 0B382900 *................/E....0....*
0060 000E000A 00000000 00000000 B000000A 00000000 00000000 0B382580 0B398570 *.........................e.*
0080 00000000 00000000 00000000 00C80001 00000000 00000000 26850000 097AA080 *........H...........e...:..*
00A0 0B35EF30 00010000 00000000 00000000 00000000 C1C1C1C1 C1C1C1C1 *...............BBBBBBBB *
VSWA Offsets Note: PLH of non-zero indicates this VSWA owns a VSAM
String on File EDZFILE. The 00 for VSWAREQ
+0A VSWAREQ – RPL Request Type indicates this is a READ command. VSWAOPTC has
+0C VSWAPLHP – PLH Address Update Access set on, so this is a READ UPDATE
+30 VSWAOPTC – RPL Options command. The VSAM String will not be released
+9C VSWASV12 – TCA Address until a REWRITE or Unlock is issued. The RIDFLD
+B4 VSWAXKEY – RIDFLD (KEY) for VSWA1 is AAAAAAAA, VSWA2 is BBBBBBBB
38
Problem Two – FCPSWAIT - EDZFILE String Owners
TCA Task Wait Type Wait Time
Address Number
39
11733 FCDSRECD
ENQUEUE
11613 FCDSRECD
ENQUEUE
All Owners
11526 FCDSRECD Issued a request that
Read Update
ENQUEUE puts them in
For various KEYs
On file EDZFILE FCDSRECD
11500 FCDSRECD Enqueue
Obtained String
ENQUEUE
11373 FCDSRECD
ENQUEUE
11337 FCDSRECD
EDZFILE
ENQUEUE
String
Owners 11290 FCDSRECD
ENQUEUE
11204 FCDSRECD
ENQUEUE
10882 FCDSRECD
ENQUEUE
10048 FCDSRECD
ENQUEUE
10037 FCDSRECD
ENQUEUE
10033 FCDSRECD
ENQUEUE
40
Problem Two – What We Know So Far
Customer’s access to file EDZFILE stalled
EDZFILE is a Recoverable file (use System Log = YES)
Customer provided a dump taken at 20:07:36.996768 GMT
CICS Dispatcher shows many tasks in FCPSWAIT for file EDZFILE
Earliest task in FCPSWAIT is 11794 at 19:54:29.698 GMT
DTIMOUT not set on the Transaction (no Timeout due)
VERBX DFHPD660 ‘FCP=3’ for file EDZFILE shows
12 (x’C’) Active Strings against the file - 31 (X’1F’) Tasks waiting for a string
15 (x’F’) Strings defined for the file - 12 (x’C’) Strings for non-direct reads
String Owners for EDZFILE have all issued Read Update commands
for various Ridflds (obtaining a string ) and are now in FCDSRECD
ENQUEUE suspends
41
FCDSRECD ENQUEUE
A resource name of FCDSRECD indicates a wait for a record lock in a VSAM file
When a transaction updates a record in a VSAM file locking occurs at two levels:
VSAM locks the CI when the record has been read, and CICS locks the record
The CI lock is released as soon as the REWRITE (or UNLOCK) request is
completed. However, if the file is recoverable, the record is not unlocked by CICS
until the updating transaction has reached a syncpoint
This is to ensure that data integrity is maintained if the transaction fails before the
syncpoint and the record has to be backed out
If a transaction attempts to update a record that is locked by another transaction, it
is suspended on resource type ENQUEUE until the lock is released.
This can be a long wait since the owner of the ENQUEUE may itself be waiting
42
Problem Two – FCDSRECD Enqueue – ‘NQ=3’
OWNER / WAITER
NQEA Tran Tran Lifetime Hash
Enqueue Name Len Sta Address id Num Local Uowid Uow Tsk Indx
------------------------------ --- --- -------- ---- ----- ---------------- --- --- ----
.
.
.
NOTE: An FCDSRECD ENQUEUE name will always be the HEX address of the DSNB (0A61AD30) followed by the RIDFLD
that is locked (C1C1C1C1C1C1C1C1 or AAAAAAAA). In this case, the owner of all the record locks that the string
holders for EDZFILE need is task number 08957. This happened to be the running task identified on slide 30.
The DSNB that all the enqueues are for ( 0A61AD30 ) is recoverable file BATCHFIL. You can verify this using slide 34. These
enqueues will not be released until task 08957 either syncpoints or terminates.
43
Problem Two – What We Know
Customer’s access to file EDZFILE stalled
EDZFILE is a Recoverable file (use System Log = YES)
Customer provided a dump taken at 20:07:36.996768 GMT
CICS Dispatcher shows many tasks in FCPSWAIT for file EDZFILE
Earliest task in FCPSWAIT is 11794 at 19:54:29.698 GMT
DTIMOUT not set on the Transaction (no Timeout due)
VERBX DFHPD630 ‘FCP=3’ for file EDZFILE shows
12 (x’C’) Active Strings against the file - 31 (X’1F’) Tasks waiting for a string
15 (x’F’) Strings defined for the file - 12 (x’C’) Strings for non-direct reads
String Owners for EDZFILE have all issued Read Update commands
for various Ridflds (obtaining a string ) and are now in FCDSRECD
ENQUEUE suspends
Owner of the FCDSRECD Enqueues for file EDZFILE is Task 08957
which is currently running and updating BATCHFIL
44
Problem Two – What can be done???
45
End Of Problem Two: FCPSWAIT
FCDSRECD Enqueue
E
d IBM Software Group
A
d
d
i
s
o
n
4
7
47
IBM Software Group
ABEND0C1 – SYSLOG
DFHAP0001 EDZAOR An abend (code 0C1/AKEA) has occurred at offset X'FFFFFFFF' in module EDZPROG
DFHME0116 EDZAOR (Module:DFHMEME) CICS symptom string for message DFHAP0001 is PIDS/5655M1500 LVLS/650
MS/DFHAP0001 RIDS/DFHSRP
PTFS/HCI6500 AB/S00C1 AB/UAKEA RIDS/EDZPROG ADRS/FFFFFFFF
Ed Addison 48
48
E
d IBM Software Group
A
d
d
i
s
VERBX DFHPD650 ‘KE’
o
n * * * * * CICS 6.5.0 - IPCS EXIT * * * * *
4 CICS650 OPERANDS:
9
KE
ASID(hex): JOBNAME:
006C EDZAOR
DUMPCODE: AP0001
MESSAGE: DFHAP0001 EDZAOR An abend (code 0C1/AKEA) has occurred at offset X'FFFFFFFF' in module EDZPROG.
TITLE: (None)
CALLER: (None)
ASID: X'006C'
49
E
d IBM Software Group
A
d
d
i
VERBX DFHPD650 ‘KE’ Continued
s
o
n Find *running
===KE: Kernel Domain KE_TASK Summary
5
0
KE_NUM KE_TASK STATUS TCA_ADDR TRAN_# TRANSID DS_TASK KE_KTCB ERROR
Find ‘0033 ’ ‘
KE_NUM @STACK LEN TYPE ADDRESS LINK REG OFFSET ERR NAME
50
E
d IBM Software Group
A
d
d
VERBX DFHPD650 ‘KE’ Continued
i
s Find Table
o
n
==KE: KE Domain Error Table Summary
5
1 ERR_NUM ERR_TIME KE_NUM ERROR TYPE ERR_CODE MODULE OFFSET
======= ======== ====== ========== ======== ====== ======
0000 F0C3F161 C1D2C5C1 018400C1 0000FFFF C4C6C8C1 D7D3C9F1 2AA0E900 2A4D8500 *0C1/AKEA.d.A....DFHAPLI1..Z..(e.*
0020 0005D080 2B1FF900 00000003 00000001 FF850001 00000000 078D2000 80000002 *..}...9..........e..............*
0040 00020001 7F537000 80000002 802B7A46 00000000 7FFFF000 7FFFF000 7FFFF000 *....".........:.....".0.".0.".0.*
0060 7FFFF000 7FFFF000 7FFFF000 00000000 00000000 7FFFF000 7FFFF000 00000000 *".0.".0.".0.........".0.".0.....*
0080 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 *................................*
51
E
d IBM Software Group
A
REGISTERS 0-15
REGS 2A27E8D0
52
E
d IBM Software Group
A
d
d
ABEND0C1 What we know so far
i
s
o
n
5
3
Transaction 00048 EDZZ received ABEND0C1 at x’FFFFFFFF’ in EDZPROG
Registers do not show any clue as to how the PSW points to low core
53
E
d IBM Software Group
A
d
d
Introduction to the BEAR
i
s
o
n
BEAR – Breaking Event Address Register
5
4 The BEAR is a hardware enhancement in z9-109 (z/Architecture mode)
The BEAR contains the address of the last instruction that caused a break in sequential
instruction - the last successful branch address
The minimum operating system level to take advantage of the BEAR is z/OS V1.7
The BEAR is in the base product beginning with CICS TS V4.1
If you are running CICS TS V3.1 or V3.2, apply the following PTFs to use the BEAR:
• APAR PK47015, PTF UK28041 - CICS TS V3.1
APAR PK47715, PTF UK28429 - CICS TS V3.2
When the Kernel domain is formatted in a CICS dump with the added BEAR support, the
new BEAR data will be formatted in the Kernel error information with the title 'Branch Event
Address'
54
E
d IBM Software Group
A
NOTE: 07FE is an Unconditional Branch to what’s in R14. R14 at the time of the ABEND0C1 was 00000000.
This is an Unconditional Branch to location 0. This is why there is ABEND0C1 PSW of 80000002
55
E
d IBM Software Group
A
d Using INSTR to list Assembler Instructions
d
i
s
o
n
5
6
Raw storage at 2B7A46D0
2B7A46D0 05EF5850 C2E0D247 41400000 18D498EC | ...&B\K.&.}..Mq. |
2B7A46E0 D00C1FFF 07FE0000
56
E
d IBM Software Group
A
d
d
ABEND0C1 What we know
i
s
o
n
5
7 Transaction 00048 EDZZ received ABEND0C1 at x’FFFFFFFF’ in EDZPROG
PSW points to 80000002
Registers do not show any clue as to how the PSW points to low core
BEAR pointed to last successful branch address
EDZPROG loaded registers from low core and branched to location 00000000
57
E
d IBM Software Group
A
d
d
Summary
i
s
o
n
5
8
Problem One – ABEND0C4 / AKEA / AFCZ
58