Some SVC dumps issued by DSNIxxxx or
DSNKxxxx modules contain DBDs.
About this task
If an SVC dump is obtained from a DSNIxxxx or
DSNKxxxx module and you suspect that a DBD
is involved in the problem, follow the following procedure to determine
whether a DBD is included in the dump.
Procedure
To analyze an SVC dump that is issued by a DSNIxxxx or
DSNKxxxx module:
- Review the abend reason code:
| Option |
Description |
| If the abend reason code is 00C90102: |
Continue with step 2 until the DBD
is found, or until it is determined that there is no DBD in the dump. |
| If the abend reason code is 00C90101, 00C9011x,
or 00C902xx: |
Obtain the address of the DBD in the diagnostic area of the dump
by analyzing the 00C9010X or 00C902XX abends. After you locate the
DBD in the dump, continue with Analyzing a DBD.
|
- Locate the system diagnostic work area (SDWA)
at the beginning of the dump.
- In the field named SDWAGR13 (at offset X'4C' in the SDWA)
is register 13. The value at offset X'F4' from the value in register
13 is the address of the cursor table (CT). At the beginning of the
CT should be the following value:
X'200F'
If
this value is not in the dump at this location, there is no DBD in
the dump.
- Use the DMPR or the CTDB to find the DBD:
| Option |
Description |
| Using the DMPR control block to find the DBD: |
- CTDMPR in the CT contains either a 0 or the address of the DMPR
(dump request) control block. If the value is 0, there is no DBD in
the dump.
- At the beginning of the DMPR should be the following value:
X'20DFxxxC4D4D7D9' If
this value is not in the dump at this location, there is no DBD in
the dump.
- At offset X'40' from the start of the DMPR control block is an
array of 16 8-byte elements. These elements represent the last 16
DBD requests. Each element contains a 2-byte control ID, followed
by a 2-byte length field, followed by a 4-byte address field, DMPRRADR.
Each DMPRRADR field contains the starting address of a requested
DBD.
- At the beginning of each DBD should be the following value:
X'2039xxxxC4C2C440'
- If the DBD you are looking for is not at one of the 16 DMPRRAD
addresses, use the CTDB to find the DBD.
|
| Using the CTDB to find the DBD: |
- CTCUBPT in the CT contains either a 0 or the address of the CUB
(cursor block). If the value is 0, there is no DBD in the dump.
- At the beginning of the CUB should be the following value:
X'2015xxxxC3E4'
If
this value is not in the dump at this location, there is no DBD in
the dump.
- CUBCTDBP in the CUB contains the address of a CTDB (cursor table
DBD block). At the beginning of the CTDB should be the following value:
X'200DxxxxC3E3C4C2'
If
this value is not in the dump at this location, there is no DBD in
the dump.
- CTDBPTR in the CTDB contains either 0 or the address of a DBD.
If the value is 0, there is no DBD in the dump.
- At the beginning of the DBD should be the following value:
X'2039xxxxC4C2C440'
|
- Continue with Analyzing a DBD.