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...
 

about S0C4 AND 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
Guest






Posted: Thu Sep 01, 2005 3:22 pm    Post subject: about S0C4 AND S0C7  

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



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

Posted: Thu Sep 01, 2005 3:44 pm    Post subject: Re: about S0C4 AND S0C7  

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






Posted: Thu Sep 01, 2005 4:37 pm    Post subject: Re: about S0C4 AND S0C7  

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  
 
       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