Home The Company Publications Products Links Tips Jobs

Com-plete

Last update: 28 November 2005

Analyse a NATURAL Com-plete Dump


Question:

How to determine the Natural object and line number that caused an abend by looking at a Com-plete dump based on COM631 and NAT413?

What are other interesting addresses?

Answer:

General
If Natural is the abending program listed, and you’ve check UPCB +x’1F8’ and eliminated Com-plete as the cause of the abend, there are pointers in Com-plete Thread dumps to help to figure out where the problem is in Natural.
The Natural BB Buffer contains runtime information for the Natural nucleus. The BB can generally be found in a Com-plete Thread dump by searching for literal CRAB (C Runtime Anchor Block). The literal CRAB points to the beginning of the BB. In the BB you should be able to find nearly all the information that is displayed by the Natural TECH command.

Register 12 almost always points to the BB (Benutzer Block or User Block), register 10 sometimes, but not always, points to the IOCB. If you find Register 12 is pointing to the BB, then BB +x’5A8’ should be the address of the IOCB (Natural Input/output Control Buffer). The IOCB will contain the last PSW and registers if Natural is abending.

BB (User Block)
The object name and the line number are in the BB (Benutzer Block = User Block).
Register 12 should point to the beginning of the BB.
Enter XRC in UDUMP to get to the BB.
You should see the eye catcher CRAB at the beginning of the BB.

 	 PSW  070C2000 80009ED0 RELOC=PROGRAM  NAME=NCF413   DUMP=  17 TID=    6       
R 0- 7   00002448 007FEBB8 23F4C3CC 23E85000 0040A800 23EB68E0 00000090 007FEBC0
R 8-15   23F4C3CC 23E970A4 80009E28 0E62279C 23EA1E40 23E89DB4 00801000 007FEDC0
Absolute Relative   REGION2 +00018E40                                           
23EA1E40 00018E40   C3D9C1C2 00000000 00000000 00000000    *CRAB            *   
23EA1E50 00018E50   00000000 00000000 00000000 00000000    *                *   

Line Number
The line number is located at BB +x’214’
Enter XRC+X214

 	 PSW  070C2000 80009ED0 RELOC=PROGRAM  NAME=NCF413   DUMP=  17 TID=    6       
R 0- 7   00002448 007FEBB8 23F4C3CC 23E85000 0040A800 23EB68E0 00000090 007FEBC0
R 8-15   23F4C3CC 23E970A4 80009E28 0E62279C 23EA1E40 23E89DB4 00801000 007FEDC0
Absolute Relative   REGION2 +00019054                                           
23EA2054 00019054   07600C04 00000000 00000000 00000008    *.-..           .*   
23EA2064 00019064   00000052 23E89DB4 8E6590AE 0E623424    *   ..Y..........*   

Code:
0750 *                                          
0760 CALL #MODULE #TBL-COMMAND-AREA #TBL-STATUS 
0770 	*                                          

Program
The program name is located at BB +x’420’
Enter XRC+X420

 	 PSW  070C2000 80009ED0 RELOC=PROGRAM  NAME=NCF413   DUMP=  17 TID=    6       
R 0- 7   00002448 007FEBB8 23F4C3CC 23E85000 0040A800 23EB68E0 00000090 007FEBC0
R 8-15   23F4C3CC 23E970A4 80009E28 0E62279C 23EA1E40 23E89DB4 00801000 007FEDC0
Absolute Relative   REGION2 +00019260                                           
23EA2260 00019260   C9E3C2F0 F2D7F0F1 40404040 40404040    *ITB02P01        *   
23EA2270 00019270   40404040 40404040 40404040 40404040    *                *   

Library
The library name is located at BB +x’3A0’
Enter XRC+X3A0

 	 PSW  070C2000 80009ED0 RELOC=NONE     NAME=NCF413   DUMP=  17 TID=    6       
R 0- 7   00002448 007FEBB8 23F4C3CC 23E85000 0040A800 23EB68E0 00000090 007FEBC0
R 8-15   23F4C3CC 23E970A4 80009E28 0E62279C 23EA1E40 23E89DB4 00801000 007FEDC0
Absolute Relative   REGION2 +000191E0                                           
23EA21E0 23EA21E0   E2E3D9C5 E2E260D7 40404040 40404040    *STRESS-P        *   
23EA21F0 23EA21F0   40404040 40404040 40404040 40404040    *                *   

Natural Version
The Natural version is located at BB +x’210’
Enter XRC+X210

 	 PSW  070C2000 80009ED0 RELOC=NONE     NAME=NCF413   DUMP=  17 TID=    6       
R 0- 7   00002448 007FEBB8 23F4C3CC 23E85000 0040A800 23EB68E0 00000090 007FEBC0
R 8-15   23F4C3CC 23E970A4 80009E28 0E62279C 23EA1E40 23E89DB4 00801000 007FEDC0
Absolute Relative   REGION2 +00019050                                           
23EA2050 23EA2050   F4F1F0F3 07600C04 00000000 00000000    *4103.-..        *   
23EA2060 23EA2060   00000008 00000052 23E89DB4 8E6590AE    *   .   ..Y......*   

Natural IOCB
Natural's Input Output Control Buffer is normally located at BB +x’5A8’
Enter XRC+X5A8

 	 PSW  070C2000 80009ED0 RELOC=NONE     NAME=NCF413   DUMP=  17 TID=    6       
R 0- 7   00002448 007FEBB8 23F4C3CC 23E85000 0040A800 23EB68E0 00000090 007FEBC0
R 8-15   23F4C3CC 23E970A4 80009E28 0E62279C 23EA1E40 23E89DB4 00801000 007FEDC0
Absolute Relative   REGION2 +000193E8                                           
23EA23E8 23EA23E8   23E89298 00000000 410000C7 00000000    *.Ykq    .  G    *   
23EA23F8 23EA23F8   00000000 00000000 00000000 0C3C0000    *            ..  *   
23EA2408 23EA2408   00000000 00000000 00000000 D4C1D2C5    *            MAKE*   
23EA2418 23EA2418   E3C1C2E2 001A0004 0000971A 00000000    *TABS . .  p.    *   
23EA2428 23EA2428   00000080 00000004 00000000 00000000    *   .   .        *   

Top Page


Back to COM-PLETE Tips, Tricks, Techniques -- Overview