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

about S0C4 AND S0C7

IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message

PostPosted: Thu Sep 01, 2005 3:22 pm
Reply with quote

Hi all,

Suppose i am having 2 prog A and B, when i am calling B from A , the program B is getting abend with S0C7, but why my jcl is giving S0C4 for the program A.

is there any thing like that if any abend in sub program the main program will return S0C4

please reply

Back to top

Senior Member

Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Thu Sep 01, 2005 3:44 pm
Reply with quote

S0C7 is a DATA Exception Error, such as alphabet in arithmetic.
S0C4 is Protection Exception Error, such as Invalid Poiter Value.

Do you think S0C7 in Calling prog making an Impace in Main.

Check out for the offset value for S0C4, & go thru the log. Figure out the area & then only you'll be able to say anything.


Back to top
View user's profile Send private message

PostPosted: Thu Sep 01, 2005 4:37 pm
Reply with quote

Try to find out whether the 0C4 was caused after the program B was called. If so, then it is possible that program B abended with an 0C7 (data exception) and some abend handling routine returned the control back to the calling program where it abended with a 0C4 (protection exception).

You can find the point where the 0C4 occurred from the SYSUDUMP.

Back to top
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging


Similar Topics
Topic Forum Replies
No new posts S0C7 abend while running a Cobol Program COBOL Programming 2
No new posts S0C4 Reason Code 10 COBOL Programming 1
This topic is locked: you cannot edit posts or make replies. S0C4-X'11' issue - page translation e... JCL & VSAM 10
No new posts S0C7 abend not able to locate COBOL Programming 8
No new posts Getting S0C4 while running COBOL Data... COBOL Programming 4
Search our Forums:

Back to Top