Analyzing an SVC dump issued by a DSNIxxxx or DSNKxxxx module

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:

  1. 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.

  2. Locate the system diagnostic work area (SDWA) at the beginning of the dump.
  3. 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.

  4. Use the DMPR or the CTDB to find the DBD:
    Option Description
    Using the DMPR control block to find the DBD:
    1. 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.
    2. 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.
    3. 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.
    4. At the beginning of each DBD should be the following value:
      X'2039xxxxC4C2C440'
    5. 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:
    1. 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.
    2. 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.

    3. 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.

    4. 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.
    5. At the beginning of the DBD should be the following value:
      X'2039xxxxC4C2C440'
  5. Continue with Analyzing a DBD.