z/OS diagnostic services

DB2® uses functional recovery routines that run MVS™ and z/OS® services to provide diagnostic information for assistance in problem determination.

Functional recovery routines used by DB2 run MVS and z/OS services to provide diagnostic information for assistance in problem determination. The following MVS services provide diagnostic information:

SVC dumps
The DB2 abend completion code X'04E' uses the MVS SDUMP service to create SVC dumps. The content and storage areas associated with these dumps vary depending on the specific error and the state of the DB2 subsystem at the time the error.
SYS1.LOGREC entries
Entries are requested in the SYS1.LOGREC data set at the time of the error using the MVS SETRP service. The following are also recorded in SYS1.LOGREC:
  • Subsystem abnormal terminations
  • Secondary abends that occur in a recovery routine
  • Recording requests from recovery routines percolated to by the recovery termination manager.
Variable recording area (VRA) data
Data entries are added to the VRA of the SDWA by using an MVS VRA defined key. VRA data includes a series of diagnostic data entries common to both DB2 abend completion codes. Additional information is provided by the invoking subcomponent recovery routine during initial error processing or recovery termination manager percolation.

During DB2 operation, an abend can occur with an MVS system completion code.

If you receive an MVS abend during DB2 operation, refer to the appropriate MVS publication.