Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What are the steps to solve soc4 abend in assembler

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: What are the steps to solve soc4 abend in assembler
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

Site Director


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

PostPosted: Thu Jun 21, 2007 7:54 pm    Post subject:
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    Post subject: S0C7 in assembler
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: 755
Location: Germany

PostPosted: Mon Mar 31, 2008 1:16 pm    Post subject:
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    Post subject:
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: 755
Location: Germany

PostPosted: Mon Mar 31, 2008 2:53 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10232
Location: italy

PostPosted: Mon Mar 31, 2008 4:01 pm    Post subject: Reply to: What are the steps to solve soc4 abend in assemble
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts A not very Christmassy PL/I tale, wit... prino PL/I & Assembler 3 Mon Dec 26, 2016 1:01 am
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us