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

What are the steps to solve soc4 abend in assembler


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kalpana

New User


Joined: 19 Nov 2004
Posts: 24
Location: Banglore

PostPosted: Thu Jun 21, 2007 6:11 pm
Reply with quote

could any let me know what are the steps to solve soc4 abend in assembler
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 Jun 21, 2007 7:54 pm
Reply with quote

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
View user's profile Send private message
Premdev

New User


Joined: 05 Feb 2008
Posts: 24
Location: Coimbatore

PostPosted: Mon Mar 31, 2008 11:28 am
Reply with quote

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
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Mon Mar 31, 2008 1:16 pm
Reply with quote

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
View user's profile Send private message
XOpen

New User


Joined: 19 Mar 2008
Posts: 11
Location: Russia

PostPosted: Mon Mar 31, 2008 2:24 pm
Reply with quote

set BR14 soon after start. If it doesn't abend, move it forward.
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Mon Mar 31, 2008 2:53 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Mar 31, 2008 4:01 pm
Reply with quote

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
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts CA7 deleting files in steps after job... CA Products 4
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Finding Assembler programs PL/I & Assembler 5
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
Search our Forums:

Back to Top