Anaheim Hang Debug
Anaheim Hang Debug
and Enqueues
Ed Addison
IBM
Session 14818
IBM Software Group
Agenda
ABEND0C4 / AKEA / AFCZ
ABEND0C1
Ed Addison 2
IBM Software Group
Ed Addison 3
IBM Software Group
Ed Addison 4
IBM Software Group
Ed Addison 5
IBM Software Group
Ed Addison 6
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 7
IBM Software Group
Ed Addison 8
IBM Software Group
Ed Addison 9
IBM Software Group
===> ST SYS
Ed Addison 10
IBM Software Group
Note: Original Dump Dataset name and Incident Token matches messages seen on SYSLOG
Ed Addison 11
IBM Software Group
Ed Addison 12
IBM Software Group
Ed Addison 13
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 14
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 15
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 16
IBM Software Group
PSW: 078D1000 8370181C Instruction Length: 2 Interrupt Code: 10 Exception Address: 40404040
REGS 13C87660
PSWDATA 0370181C
Ed Addison 17
IBM Software Group
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 18
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 19
IBM Software Group
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 20
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 21
IBM Software Group
Ed Addison 22
IBM Software Group
Ed Addison 23
IBM Software Group
Ed Addison 24
IBM Software Group
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 25
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 26
IBM Software Group
Note: Register 1 will point to the parameters when CICS was called.
Ed Addison 27
IBM Software Group
Ed Addison 28
IBM Software Group
Ed Addison 29
IBM Software Group
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 09/09/2013 16:16:45.011897 local
TIME OF DAY CLOCK: BD96C9D0 C1DE4040 09/09/2013 20:07:38.329572 GMT
Program Producing Dump: SVCDUMP
Program Requesting Dump: DFHKETCB
Ed Addison 30
IBM Software Group
Note: None of the tasks have a TIMEOUT DUE value. This indicate the transactions do not have DTIMOUT coded.
Many of the tasks are in FCPSWAIT for EDZFILE
Task waiting longest time in FCPSWAIT is 11794
Currently running task on QR TCB is 08957
Ed Addison 31
IBM Software Group
Ed Addison 32
IBM Software Group
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?
Ed Addison 33
IBM Software Group
FCTE EDZFILE
Task 1
EXEC CICS
STRING VSWA 1 PLH 1 BUFFER
READ
Count Less
FILE(EDZFILE)
Than 2?
UPDATE
Ed Addison 34
IBM Software Group
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.
Ed Addison 35
IBM Software Group
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
Ed Addison 36
IBM Software Group
Ed Addison 37
IBM Software Group
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.
Ed Addison 38
IBM Software Group
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
Ed Addison 39
IBM Software Group
Ed Addison 40
IBM Software Group
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
Ed Addison 41
IBM Software Group
Ed Addison 42
IBM Software Group
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
Ed Addison 43
IBM Software Group
.
.
.
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 25.
The DSNB that all the enqueues are for ( 0A61AD30 ) is recoverable file BATCHFIL which was identified on slide 28. These
enqueues will not be released until task 08957 either syncpoints or terminates.
Ed Addison 44
IBM Software Group
Ed Addison 45
IBM Software Group
Ed Addison 46
IBM Software Group
Ed Addison 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 MS/DFHAP0001 RIDS/DFHSRP
AB/S00C1 AB/UAKEA RIDS/EDZPROG ADRS/FFFFFFFF
Ed Addison 48
IBM Software Group
CICS670 OPERANDS:
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'
Ed Addison 49
IBM Software Group
Find ‘0033 ’ ‘
KE_NUM @STACK LEN TYPE ADDRESS LINK REG OFFSET ERR NAME
Ed Addison 50
IBM Software Group
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 *................................*
Ed Addison 51
IBM Software Group
REGISTERS 0-15
REGS 2A27E8D0
Ed Addison 52
IBM Software Group
Ed Addison 53
IBM Software Group
Ed Addison 54
IBM Software Group
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
Ed Addison 55
IBM Software Group
Ed Addison 56
IBM Software Group
REG14 00000000 REG15 00FDBA30 REG0 00000000 REG1 7FFFF000 REG2 7FFFF000
REG3 7FFFF000 REG4 7FFFF000 REG5 7FFFF000 REG6 7FFFF000 REG7 00000000
REG8 00000000 REG9 7FFFF000 REG10 7FFFF000 REG11 00000000 REG12 00000000
Ed Addison 57
IBM Software Group
Ed Addison 58
IBM Software Group
Summary
Problem One – ABEND0C4 / AKEA / AFCZ
Ed Addison 59
IBM Software Group
Ed Addison 60