View previous topic :: View next topic
|
Author |
Message |
Guest
|
|
|
|
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 |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
Guest
|
|
|
|
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 |
|
|
|