Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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
View previous topic :: :: View next topic  
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

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts S0C7 abend not able to locate Rijit COBOL Programming 8 Wed Apr 01, 2015 4:03 pm
No new posts Getting S0C4 while running COBOL Data... kalakuntlavenkat COBOL Programming 4 Thu Feb 26, 2015 8:48 pm
No new posts S0C7 Data Exception Error Niti Srivastava ABENDS & Debugging 4 Mon Feb 23, 2015 5:40 pm
No new posts Getting S0C4 when Writing a Record thesumitk COBOL Programming 7 Wed Feb 04, 2015 3:26 pm
No new posts S0C7 issued on a CALL statement RedDevil711 ABENDS & Debugging 8 Sun Feb 01, 2015 3:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us