CICS Debugging Basics
CICS Debugging Basics
CICS Debugging Basics
Agenda
IPCS Basics Whats needed Commands CICS verbexit Types of Dumps SLIP dumps Console dumps CICS dumps CICS verbexit samples CICS References
IPCS Basics
F1=HELP F8=DOWN
F2=SPLIT F9=SWAP
F3=END F10=LEFT
F6=MORE
F7=UP
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. Source ==> DSNAME(YOUR.DUMP.DATASET.NAME) Enter your dump dataset name Address Space ==> Message Routing ==> PRINT TERMINAL Message Control ==> CONFIRM VERIFY FLAG(WARNING) Display Content ==> NOMACHINE REMARK REQUEST NOSTORAGE SYMBOL Press ENTER to update defaults. Use the END command to exit without an update.
Note key of 88
A5900400
Specifying display content of NOMACHINE Displays just the storage area Here is an example:
command ===> ip l 7000 length(20) LIST 7000. ASID(X'0396') LENGTH(X'14') AREA 00007000. 02386EC4 C6C8D2C5 D2C3C240 40404040
A5900400
In a Console dump
SYSTEM STATUS: Nucleus member name: IEANUC01 I/O configuration data: IODF data set name: SYS1.IODF03 IODF configuration ID: PLX1 EDT ID: P1 Sysplex name: SYSPLEX1 TIME OF DAY CLOCK: C1289889 1C88A7F9 09/06/2007 15:33:51.602826 local TIME OF DAY CLOCK: C1288B1F E248A7F9 09/06/2007 14:33:51.602826 GMT Program Producing Dump: SVCDUMP Program Requesting Dump: IEAVTSDT Incident token: SYSPLEX1 MV23 09/06/2007 14:34:10.614280 GMT
The MVS image issuing the dump request is MV23, a member of sysplex SYSPLEX1
10
SDF5 ---00 00 00 00
The address spaces contained in this dump are: 0396 and 000F
11
Basics:
The SELECT ALL command lists, in address space order, all jobs in the system at the time the dump was taken. It is important to note the dump does not contain all jobs listed. Using the IPCS SELECT command SELECT ALL - ASID to Jobname Cross Reference
ASID ---0001 0002 0003 0004 0005 000F 0395 0396 0398 JOBNAME -------*MASTER* PCAUTH RASP TRACE DUMPSRV OMVS ASCBADDR -------00FD4600 00F4E080 00FB0980 00FB0800 00FB0680 00FB0B80 SELECTION CRITERIA -----------------ALL ALL ALL ALL ALL ALL ALL ALL ALL
12
13
Another option is to equate the address of the blocktime to a symbol; first list the address (in browse mode, command => L 12fbd130)
ASID(X'0040') ADDRESS(12FBD130.) STORAGE ---------------------------------Command ===> 12FBD130 12FBD140 12FBD150
eq blocktime
54098CB9 C4C6C8D3 00000000 131C0A00 D6C74040 00000000 0000FA00 01010000 00000000 | A............... | | ....DFHLOG .... | | ..9............. |
14
15
(630) (610)
(620)
16
17
Types of Dumps
18
In this example, the slip triggered on CICS console message DFHEJ0102 and dumped the CICSTST1 and OMVS address spaces and data spaces.
19
20
The first time you look at the dump, you will see the following:
TIME-03:36:15 PM. CPU-00:00:02 SERVICE-81484 SESSION-02:50:26 SEPTEMBER 6,2007 Initialization in progress for DSNAME('DUMP.MV01.#MASTER#.D070906.T153350.S00289') TITLE='DUMP OF HUNG CICS REGION'
21
22
Dump Summary
Produced from each of the CICS Verbexit commands Provides high-level diagnostic information
VERBX DFHPD640 KE=3 === DUMP SUMMARY DUMPID: 1/0004 DUMPCODE: SR0001 DATE/TIME: 6/09/07 13:50:14 (LOCAL) MESSAGE: DFHSR0001 IYNX30 An abend (code 0C7/AKEA) has occurred at offset X'00000434' in program SECNDPGM. SYMPTOMS: PIDS/5655M1500 LVLS/640 MS/DFHSR0001 RIDS/DFHSRP PTFS/UK05645 AB/S00C7 AB/UAKEA RIDS/SECNDPGM ADRS/00000434 TITLE: (None) CALLER: (None) ASID: X'0040'
23
24
25
CSOL OOPS
12ECC880 ***Running** 122AD680 00064 12EE2080 Unused 12EE2480 Unused 12F6A480 Not Running
122AB680 00019
CFQS
121B2380 11FB5000
26
12EDBFB0 0CD0 12EDCC80 0D60 12EDD9E0 0770 12EDE150 0CD0 12EDEE20 04C0 12EDF2E0 0E90
0044
12EE0170 0630
27
0044 0044
28
29
30
00000008'
00000008
Error Code: Date (GMT) : Date (LOCAL) : KE_NUM: 0044 0C7/AKEA 06/09/07 06/09/07 KE_TASK: Error Type: PROGRAM_CHECK Timestamp: C12874082F64C2FB
TCA_ADDR:
Error happened in program DFHYI640 at offset 00000434 Error happened under the CICS RB.
31
Data at PSW: 93E00704 PSWDATA 13E002D0 0000 0020 0040 0060 0080 03E0 0400 0420 C4C6C8E8 C9D3D3C9 13E003AE 13E002F8 00104001
*DFHYI640.0...00}.00..00.......*F* *ILLIN*...00..CEE...H.....00.q...* *.\................}...0.q.0<....* *.\.8.....\...\.w.\.8.\...\...\.B* *.. .....SECNDPGM2007090613423602* *.0..K.}.}qo j K.}y....}y&.}.o.}.* *..}..0....j..{.....{.Y..j. 0..K.* *...aK.}...o.}...}..cK...}.o...K.*
47F0B000 D203D08C D0989640 9140D21D 4110D0A0 58F0A000 41009138 58C09080 8038A081 D201D0A0 8038960F D0A1FA10
D0A8A01C 4120D0A8 5020D0A0 9680D0A0 05EF58C0 90E85820 912440F0 2000D201 D0A0A083 D2018038 D0A0960F 8039D210
32
33
34
35
To find the task we are interested in, issue a find for the task number: F 00064
==PG: PTA SUMMARY FOR TRAN NUM : 00064, PTA ADDRESS : 122FC300
LOG-LVL : 2 SYS-LVL : 0 TASK-LLE : 00000000 PLCB : 12EDDCA0 =PG: TASK PLCB SUMMARY PROG SECNDPGM LVL 2 LD 13E002D0 ENT 93E002F8 LEN 001320 ENV EXEC INV FIRSTPGM PROG FIRSTPGM LVL 1 LD 13E00000 ENT 93E00000 LEN 0002D0 ENV EXEC INV CICS
36
37
TC
TC21
SYS_TCA.00064 122AD780 Task Control Area (System Area) 0000 0020 0040 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 13009EF8 00000000 00000000 00000000 0000064C 121F27DC 0000007A 00000000 00000000 00000000 12EDDD00 00000000 00000000 00000000 00000000 00000000 *...................<.......:....* *................................* *...8............................*
SYSEIB.00064 122ADA94 System EXEC Interface Block -0008 0000 0135012F 0107249F D6D6D7E2 0000064C 5CE2E8E2 C5C9C240 E3C3F2F1 00000004 00007D02 0A000000 * *SYSEIB * *........OOPS...<TC21......'.....*
USER31.00064 130015C0 USER storage above 16MB 0000 0020 E4F0F0F0 F0F0F6F4 4C4CD9E4 E6D76E6E 00000000 130015F0 00010000 12EDEE20 00000000 00000000 00008460 00008460 12655497 12656496 E4F0F0F0 F0F0F6F4 *U0000064<<RUWP>>..........d-..d-* *.......0...........p...oU0000064*
38
where xxxxxxxx is the starting address of the allocated storage. WebSphere Support Technical Exchange 39
40
42
TASK-00064 KE_NUM-0044 TCB-QR /007DA510 RET-924916E8 TIME-13:50:12.7375516394 INTERVAL-00.0015488593 =018369= 1-0000 01A00000 000000DA 00000000 00000000 B81B4EA0 00000000 02000100 E2C5C3D5 *..................+.........SECN* 0020 C4D7C7D4 13E002D0 93E002F8 00001320 07010101 01030202 1322F360 1322F360 *DPGM.\.}l\.8..............3-..3-* 0040 00001320 91E21102 00000000 00000000 00000000 00020102 91020201 02404040 *....jS..................j.... * 0060 40404040 0000002D 1202E0E0 131F04D0 01FB53C8 12109AF8 00000001 00007000 * ......\\...}...H...8........* 0080 12EDDFE0 00280000 12ECC880 00007000 00007758 80000000 12EDE300 91E1F450 *...\......H...............T.j.4&* 00A0 12EDD9E0 91E83360 D88C0000 0030D5C0 041201D8 22020000 12EDD678 00008030 *..R\jY.-Q.....N{...Q......O.....* 00C0 01000000 00000000 00000000 91E1F5DE 91E1F77A 91E48D80 11E4C31E 00008958 *............j.5.j.7:jU...UC...i.* 00E0 12212000 12EDDE38 91E3647A 12EDE208 F3F9F1F3 91E07AC2 00000000 80000001 *........jT.:..S.3913j\:B........* 0100 12EDE118 00000007 120F4030 00000001 12EDDE38 00000008 12EDE178 12FB53C8 *.......... ....................H* 0120 1210F378 00000001 0005B680 0002020B 12285000 12240684 00000000 00000000 *..3...............&....d........* 0140 00000000 00000000 00000000 00000000 02A50000 00000270 F10002A0 12EDDD60 *.................v......1......-* 0160 00000000 12FB5420 00E00400 000006D1 00680000 00000028 00000000 00000000 *.........\.....J................* 0180 B5000000 00000000 01EDE1E8 00000001 00000040 0002DFEC 12EDDE38 00000090 *...........Y....... ............* 2-0000 F0C3F761 C1D2C5C1 018400C7 0000FFFF C4C6C8C1 D7D3C9F1 1264E270 3164E080 *0C7/AKEA.d.G....DFHAPLI1..S...\.* 0020 122AD680 12ECC880 00000008 00000000 FF950007 00000000 079D1000 93E00704 *..O...H..........n..........l\..* 0040 00060007 00000000 93E00704 90000838 1300B208 13009F98 1300B270 13E006B4 *........l\.............q.....\..* 0060 13E00330 12EDE91C 00000000 130000D0 1300B2C0 1300B0D0 13E00400 13E00504 *.\....Z........}...{...}.\...\..* 0080 13E003F4 13009EF8 93E006E2 00000000 00000000 00000000 00000000 00000000 *.\.4...8l\.S....................* 00A0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 *................................* 00C0 00000000 00000000 00000000 00000003 00000000 00000000 00000000 00000000 *................................* 00E0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 *................................* 0100 00000000 00000000 00000000 00000000 FF950007 00000000 079D1000 93E00704 *.................n..........l\..* 0120 00060007 00000000 93E00704 90000000 1300B208 13009F98 1300B270 13E006B4 *........l\.............q.....\..* 0140 13E00330 12EDE91C 00000000 130000D0 1300B2C0 1300B0D0 13E00400 13E00504 *.\....Z........}...{...}.\...\..* 0160 13E003F4 13009EF8 93E006E2 00000000 00000000 00000000 00000000 00000000 *.\.4...8l\.S....................*
43
44
DS_TOKEN KE_TASK 00000001 00040003 00060003 00080003 00100003 00900003 00040001 00060001 00080001 00000029 00800003 11F8CC00 12F6A480 11F8C000 11FA9C00 12F1C080 121FBC00 1222A080 1222A480 12F1C880 12ECC880 12F38880
T S F P TT RESOURCE RESOURCE_NAME TYPE S S S S S S S S S N S S S S R S S S S S R S N N - ENF NOTIFY N N IN FCCFQS N N - TIEXPIRY DS_NUDGE N N N N N N N N N N IN ICEXPIRY ICMIDNTE SMSYSTEM smsyre TCP_NORM CSNC DFHAPTIX DFHAPTIM smva_ecb DFHZDSP MROQUEUE
W TIME OF SUSPEND
TIMEOUT DUE
DTA (DSTSK)
AD M SUSPAREA XM_TXN_TOKEN DM XM TI AP XM XM SM SM XM XM XM RO QR QR CQ QR QR QR QR QR QR QR 12217998 12F624C0 12209C700000019C 121B3860 121B3BF0 122096500000006C 31669C80 122094C80000005C 121B3920 11FF4594 00058100 122099600000008C 122093400000064C 131B603C 12209DF80000021C
N N -
M 12:45:58.610 121B2080 M 12:46:00.425 12:51:00.425 121B2380 S 12:46:03.584 121B2500 121B2680 S 12:46:03.584 121FCC80 S 12:46:00.312 31669C80 S 12:45:58.614 12:50:58.614 316B2380 M 12:45:59.462 316B2500 W 12:50:32.730 316B2680 3164E080 M 12:46:01.968 31640080
Task Numbers
45
46
Verbx MTRACE
Console Message display
*** MASTER TRACE TABLE *** TAG | 0001 0001 0001 0001 IMM DATA 0000025D 0000004B 00000040 00000040 |-------------------------------------------------- MESSAGE DATA ------------------------------------------------N 8000000 MV23 07249 N 4000000 MV23 07249 M C020000 MV23 07249 D has been D debugging E N C020000 MV23 07249 at offset X'00000434' in M C020000 MV23 07249 D DFHSR0001 is D PTFS/UK05645 E N FFFF000 MV23 07249 , DUMPID: 1/0004 13:50:01.16 STC16806 00000281 *DFS3384I DATA SHARING STOPPED IM9C 13:50:09.58 JOB00027 00000080 +06/09/07 13:50:10 13:50:12.73 JOB17692 00000090 +DFHDP0100 IYNX30 067 067 00000090 An unexpected exception response with reason code X'22' 067 00000090 067 13:50:12.73 JOB17692 program SECNDPGM. 13:50:12.73 JOB17692 069 00000090 00000090 00000090 00000090 returned by CICS file control to module DFHDPFM. The profiles file, DFHDPFMP, is not usable. +DFHSR0001 IYNX30 An abend (code 0C7/AKEA) has occurred +DFHME0116 IYNX30 069 (Module:DFHMEME) CICS symptom string for message PIDS/5655M1500 LVLS/640 MS/DFHSR0001 RIDS/DFHSRP AB/S00C7 AB/UAKEA RIDS/SECNDPGM ADRS/00000434 +DFHDU0201 IYNX30 ABOUT TO TAKE SDUMP. DUMPCODE: SR0001
0001 00000040 0001 00000040 0001 00000040 0001 00000040 0001 00000040 0001 00000040 0001 00000040 0001 00000040
47
References
CICS Support Web Page http://www.ibm.com/software/htp/cics/tserver/support/ Helpful references and links to CICS Info Center, Technotes, Flashes, Must Gather documents for defect support, SupportPacs, Redbooks, and more! Useful Manuals CICS Operations and Utilities Guide Details and instructions for configuring IPCS for CICS CICS Problem Determination Guide Assistance for investigating dumps and abends CICS Trace Entries CICS Data Areas and Supplementary Data Areas CICS Supplied Transactions z/OS Interactive Problem Control System User's Guide z/OS Interactive Problem Control System Customization z/OS Interactive Problem Control System Commands z/OS Principles of Operation Information on program interrupts and instructions
48
Summary
IPCS Basics What's needed Commands CICS verbexit Type of dumps: SLIP Dumps Console Dumps CICS Dumps CICS verbexit samples CICS References
49
50
51