IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

How to find location of error in S0C7

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> ABENDS & Debugging
View previous topic :: View next topic  
Author Message
brahmanandareddy



Joined: 16 Dec 2004
Posts: 48
Location: Hyderabad

Posted: Tue Oct 11, 2005 11:06 pm    Post subject: How to find location of error in S0C7  

I got SOC7 error and I want to know where that particular error occurred. I dont have any utility like xpeditor or endeavor or some other else. How do you know this?


Please send the answer to my private mail box as well.
Back to top  
Sridevi_C



Joined: 22 Sep 2005
Posts: 107
Location: Concord, New Hampshire, USA.

Posted: Wed Oct 12, 2005 4:14 am    Post subject:  

Hi,
Didn't spool show anything else?
Regards,
Sridevi.
Back to top  
Kotes



Joined: 03 May 2005
Posts: 12

Posted: Wed Oct 12, 2005 4:36 pm    Post subject: WHERE I GOT SOC7 ABEND  

Hi,
Here i am sending one document which is shows with screens where is the soc7 abend.

I hope which is usefull to you...!


Regards,
Back to top  
iknow



Joined: 22 Aug 2005
Posts: 582
Location: Colarado, US

Posted: Thu Dec 08, 2005 7:42 am    Post subject: Re: How to find location of error in S0C7  

Hi folks,

As a follow up to the above post here is another way to find out where SOC 07 error occurred in the program by using the address in the PSW

Solution

PSW hold the address of the NSI (next sequential Instruction).
So just subtract length of the failing isntruction form the address in
the PSW and you have the exact address of the failing Instruction.
The just go the locations described by the Base and Displacement
operands in the failing instruction and you will see the data.


Hope this helps.
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> ABENDS & Debugging
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM