View previous topic :: View next topic
|
Author |
Message |
kalpana
New User
Joined: 19 Nov 2004 Posts: 24 Location: Banglore
|
|
|
|
could any let me know what are the steps to solve soc4 abend in assembler |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You might add some diagnostic code (WTO) to determine where the code "gets lost".
If you have any sort of debugging tool, you might use that as well.
Is this new or is this recently changed code? If recently changed, look hard at the changes. Did this code ever work or is this the first run? |
|
Back to top |
|
|
Premdev
New User
Joined: 05 Feb 2008 Posts: 24 Location: Coimbatore
|
|
|
|
Hi
mine is a fresh code. i'm getting S0C4. i tried giving WTOs. but still i'm not getting any displays in spool. Can you help me? |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
So, if WTO'S are right coded, you would not reach them. Error must occur before those statements. Check if your base-Adressing is correct. Place a TWO directly following the forward/backward-chain, PgmEntry to see if programm-entry is correct. Inpect the Dump you get.
(Abend-Adress - Pgm-Entry-Point) = Abend-Location in Linsting.
Mostly a register is pointing to nowhere. Hhave a look at Registers in the Dump.
Use a DebugTool to step and trace the programm, if installed.
Regards, UmeySan |
|
Back to top |
|
|
XOpen
New User
Joined: 19 Mar 2008 Posts: 11 Location: Russia
|
|
|
|
set BR14 soon after start. If it doesn't abend, move it forward. |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Yeah, doesn't abend...
But also the programm does nothing !!!
>> ...move it forward.
Assume you have 2000 lines of code. Will you get ready this year ???
I think, the best way is, to find the nearest location via dump-inspection.
Like we did it in the old good days. Saves time and nerves.
Regards, UmeySan |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
from the job output look at the offset of the abend and looking at Your program
meditate on what' s going on
... if the abend psw points at Your module
otherwise search for some wild branch
look at the register's content to see if it is like You would expect by walking the program |
|
Back to top |
|
|
|