View previous topic :: View next topic
|
Author |
Message |
veeruspi
New User
Joined: 29 Dec 2005 Posts: 16 Location: mysore
|
|
|
|
hi all,
i am getting S0C7 abend at compile unit offset +0000DDF8. but in the compiled version of the program the last offset is 00BC50. how to proceed.
thanks in advance |
|
Back to top |
|
|
pbgunasekar
New User
Joined: 28 May 2005 Posts: 26 Location: Chennai
|
|
|
|
you can search the offset address between the highere and lower of abended offset address.......... |
|
Back to top |
|
|
veeruspi
New User
Joined: 29 Dec 2005 Posts: 16 Location: mysore
|
|
|
|
hi,
in the compiled version of the program, the last offset itself is 00BC50. so my offset nowhere lies nearer to that. |
|
Back to top |
|
|
M.Bhavani Prasad
New User
Joined: 10 Mar 2006 Posts: 6 Location: Hyderabad
|
|
|
|
Hi all,
Please help out in the situation
Can I code
SELECT in-FILE
ASSIGN TO JARBI
ORGANIZATION INDEXED
ACCESS RANDOM
FILE STATUS WS-STATUS
RECORD KEY a2 THRU
A4.
Can I code ?thru? in this case
Because
My copy book is as
01 a.
02 a1
02 a2
02 a3
02 a4
Is this possible?
I cannot change the copy book |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi M.Bhavani Prasad,
Please start a new topic for your ques. You are causing confusion by putting it here. Use the "new topic" button at the top of the page to do this. Copy your ques to the page that appears and delete it here by using the "edit" button at the top right of your original post to erease the text.
Thanx and |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi veeruspi,
This usually happens if your pgm was link edited as part of another pgm.
I'll give an example using decimal values instead of hex to make it easier to understand (and explain ).
If the pgm that calls your module is 1250 bytes long and yours is 750 the length of the run unit is 2000 bytes. If you abend at offset 250 of YOUR pgm (you won't know that at this point), that translates to offset byte 1500 of the run unit. That's the offset you will see in the ABEND listing.
You need to find the offset into YOUR code. To get this offset, you must subtract the size of the calling pgm from the ABEND listing offset (1500 - 1250 = 250).
You will find the lengths and offsets to the beginning of each module of a run unit in the link edit map of the run unit. |
|
Back to top |
|
|
|