View previous topic :: View next topic
|
Author |
Message |
tomehta
New User
Joined: 18 Aug 2008 Posts: 98 Location: India
|
|
|
|
Hi
i have a basic question. some times in the abend information we get the information
Code: |
'compile unit offset +000055A4' |
. The listing of the program has decimal no of lines for e.g 1,2,3,4,5,6,7... etc. How I can map the address in the abend to the listing of the program.
At times the abend gives the line no directly say 5514 , which maps to the line no in the listing of the code.
regards |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Is this a CICS program (specifically COBOL) or is it COBOL Batch?
Bill |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
If you change your compile options to LIST,NOOFFSET (the default is OFFSET,NOLIST) the compiler produces a pseudo Assembler listing that will allow you to map offsets directly to statements. The listing is longer but instead of interpolating which statement the offset refers to, you can know exactly. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
tomehta
New User
Joined: 18 Aug 2008 Posts: 98 Location: India
|
|
|
|
Hi Bill,
Its a CICS online program. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Once you've subtracted the ILC from the address of the NSI (both found in the PSW display), you must then subtract another X'26', which is the length of the CICS/COBOL stub.
Bill |
|
Back to top |
|
|
|