Finding the CSECT

After system abends and program checks, it is useful to find the failing CSECT to locate the failing module..

About this task

To find the failing CSECT, follow these steps:
  1. Use the program status word (PSW) to identify the failing instruction. The PSW is found in the formatted dump under this line:
       PSW AND REGISTERS OF ENDING TASK
    Record the address of the failing instruction in the CSECT.
  2. If a dump data set is available, locate the save-area trace information in the dump. In the save-area trace, find a line containing:
       AT EP entry-point-name
    The entry-point-name is the module identification of the failing CSECT. The first word on the same line is the name of the failing load module.
  3. Record the name of the failing load module.
  4. Locate and record the abend code. If a dump data set is created, the abend code is on the second line of the formatted dump after the completion code.
  5. Locate and record the name of the failing module and the offset of the failing instruction in the current CSECT of that module. The address of the failing instruction, or the address of the instruction following the failing instruction, is given by the PSW at entry to the abend information. In a formatted dump data set, this information is on the third line. In a symptom dump, it is on the line containing:
       PSW at time of error
    If a dump data set is available, locate the failing instruction in the dump. The base register is normally register 11 or register 12. Locate this area in the dump to determine the values of these registers:
       Registers at entry to ABEND
  6. The address in register 11 points to the start of the failing CSECT. At offset X'5' from the start of the CSECT, you find the CSECT name and compilation date. If the failing CSECT is a CICS VR CSECT, the first three characters of its name are DWW. Record the name and compilation date of the CSECT.

If the failing CSECT is not a CICS VR CSECT, stop this error determination procedure and determine where the problem lies.

Finding the BIB

The address in register 13 points to a save area.

If a CICS VR CSECT failed, you find the address of the BIB block at offset X'48' from the start of the save area. The first three characters of the BIB block are the identifier:
   BIB

Task Task

Feedback


Timestamp icon Last updated: Friday, 7 February 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic///dwwmd/sysabnd.html