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

How to resolve S0C7 and S0C4 Error


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
virat_garg

New User


Joined: 25 Aug 2006
Posts: 3

PostPosted: Sat Dec 16, 2006 6:42 pm
Reply with quote

Hi all,

How we resolve soc7 , soc4 ,SD37 ERROR.



CHEERS

VIRAT
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sat Dec 16, 2006 7:25 pm
Reply with quote

s0c7: Data exception; Find the bad data and fix it or recognize the invalid data and avoid using it.

s0c4: Protection exception; Find the code that is requesting unowned or wrong key storage.

SD37: No space available; Allocate more space.
Back to top
View user's profile Send private message
Amit Manas Dubey
Currently Banned

New User


Joined: 15 Dec 2006
Posts: 22
Location: Mumbai

PostPosted: Sun Dec 17, 2006 12:49 am
Reply with quote

S0C7 is Data Exception abend. Compile ur program with TEST option and check the line no in ur COBOL pgm where the pgm abends. Then check whether the field has correct data. It is usually caused by incorrect values being moved to numeric fields or uninitialised numeric fields.

also, the abend might produce an offset for XREF pgms where you can check the associated verb and find the error.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sun Dec 17, 2006 1:45 am
Reply with quote

Amit Manas Dubey wrote:
Compile ur program with TEST option and check...

Test, schmest, just look at the dump where the PSW is pointing to and see the bad data. Then just backup address-wise and determine where the garbage came from.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Need help to resolve a hard edit COBOL Programming 8
Search our Forums:

Back to Top