IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Analysis/Interpreting LISTING and DUMP


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Michael Angelo Pagala

New User


Joined: 02 Mar 2007
Posts: 34
Location: somewhere in the middle

PostPosted: Thu Aug 26, 2010 8:33 am
Reply with quote

Hello,

Basically I want to know how to interpret the values in the LISTING and DUMP.

I know how to pinpoint the abending statement and find the offset.
For e.g.

sysout
Code:
CEE3207S The system detected a data exception (System Completion Code=0C7).
         From compile unit CPXXXXB at entry point CPXXXXB at statement 2888 at statement 2888 at compile unit offset +00003EAA at entry offset +00003EAA at address 3C894BE2.


listing
Code:
002888  IF                                                                     
   003E5E  5840 9130               L     4,304(0,9)              BLW=1         
   003E62  F271 D290 4262          PACK  656(8,13),610(2,4)      TS2=16         
   003E68  960F D297               OI    663(13),X'0F'           TS2=23         
   003E6C  4F50 D290               CVB   5,656(0,13)             TS2=16         
   003E70  1865                    LR    6,5                                   
   003E72  4C50 A0B0               MH    5,176(0,10)             PGMLIT AT +32 
   003E76  1875                    LR    7,5                                   
   003E78  5A50 A0A0               A     5,160(0,10)             PGMLIT AT +16 
   003E7C  9180 9056               TM    86(9),X'80'             TGTFIXD+86     
   003E80  58B0 C044               L     11,68(0,12)             PBL=3         
   003E84  47E0 B940               BC    14,2368(0,11)           GN=402(003EA0)
   003E88  1255                    LTR   5,5                                   
   003E8A  4740 B936               BC    4,2358(0,11)            GN=403(003E96)
   003E8E  5950 A09C               C     5,156(0,10)             PGMLIT AT +12 
   003E92  4740 B940               BC    4,2368(0,11)            GN=404(003EA0)
   003E96                 GN=403   EQU   *                                     
   003E96  58F0 30F4               L     15,244(0,3)             V(IGZCMSG )   
   003E9A  4110 A993               LA    1,2451(0,10)            PGMLIT AT +2307
   003E9E  0DEF                    BASR  14,15                                 
   003EA0                 GN=404   EQU   *                                     
   003EA0                 GN=402   EQU   *                                     
   003EA0  5A50 916C               A     5,364(0,9)              BLL=13         
   003EA4  F25A D290 5015          PACK  656(6,13),21(11,5)      TS2=16         
   003EAA  F952 D290 C031          CP    656(6,13),49(3,12)      TS2=16         
   003EB0  47B0 B9C8               BC    11,2504(0,11)           GN=99(003F28) 


For 003EAA..
I want to know what are the meanings of CP, BC, L, LTR etc. Is there a documentation where I can refer to?
what are the number beside them? registers?
and the next column too..how can I interpret it.

for DUMP, I can only interpret when the copybooks/variables does not receive the correct values..because it plainly says Incorrect data or sometimes Incorrect address and something like that..which likely caused the abend.

What is address 3C894BE2? most of the time I find it in the DUMP but not the exact value..but closer to it..

Code:
Storage dump near condition, beginning at location: 3C894BD2                   
  +000000 3C894BD2  4110A993 0DEF5A50 916CF25A D2905015  F952D290 C03147B0 B9C85A70 A0A09180  |..zl..!&j%2!K.&.9.K......H!...j.|


any materials/documentations that can help me evaluate and interpret Listings and DUMPs is greatly appreciated.

Regards,
Mickey
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Aug 26, 2010 9:07 am
Reply with quote

Hello,

Quote:
I want to know what are the meanings of CP, BC, L, LTR etc. Is there a documentation where I can refer to?

To learn about various assembler instructions look at Chapter 7 here:
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dz9zr003/CONTENTS

Suggest you both bookmark this and download a local copy.

Quote:
what are the number beside them? registers?
and the next column too..how can I interpret it.
The numbers to the far left are instruction addresses. The hex numbers between the address and the coded instruction (OP Code) are the "machine instructions" to be executed. The numbers to the right of the source code are registers, lengths, displacements, etc and depend on the instruction format. This generated code is not the way an assembler programmer would usually code, but this is what was generated by the comipler.

Quote:
What is address 3C894BE2?
The address of the abend.
Back to top
View user's profile Send private message
Michael Angelo Pagala

New User


Joined: 02 Mar 2007
Posts: 34
Location: somewhere in the middle

PostPosted: Thu Aug 26, 2010 10:52 am
Reply with quote

many thanks sir..that will get me started
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Aug 26, 2010 7:21 pm
Reply with quote

You're welcome - good luck icon_smile.gif

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Printing a dataset in DUMP format wit... ABENDS & Debugging 2
No new posts how to show listing in physical locat... PL/I & Assembler 2
No new posts Sorry - Trying again: How can we impr... ABENDS & Debugging 2
No new posts I need help with analysis of a COBOL ... All Other Mainframe Topics 14
No new posts Listing EVERY Dataset on a system All Other Mainframe Topics 4
Search our Forums:

Back to Top