Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
about S0C4 AND S0C7

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
Author Message
Guest







PostPosted: Thu Sep 01, 2005 3:22 pm    Post subject: about S0C4 AND S0C7
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

Thanks,
pradeep
Back to top
References
priyesh.agrawal

Global Moderator


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

PostPosted: Thu Sep 01, 2005 3:44 pm    Post subject: Re: about S0C4 AND S0C7
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.

Regards,

Priyesh.
Back to top
View user's profile Send private message
Guest







PostPosted: Thu Sep 01, 2005 4:37 pm    Post subject: Re: about S0C4 AND S0C7
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.

Cheers,
Panda.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1