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
 

 

S04C - Abend - Reason

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
View previous topic :: :: View next topic  
Author Message
hellblazer

New User


Joined: 26 Jun 2010
Posts: 4
Location: Chennai

PostPosted: Tue Jul 20, 2010 10:11 pm    Post subject: S04C - Abend - Reason
Reply with quote

Hi this morning i got the abend S04C while i am executing a COBOL program when i checked with SAR(spool) i found the RC S04C.
I just want to know what could be the reason for this abend.
Also i want to let you know that when i rerun the same job, the job ran fine and got the output but cant find what is the reason.

Note: i am opening this topic in a new thread because in previous threads related to this topic most of them switched from S04C to S0C4. people its not S0C4 its S04C

can anyone help me by giving me the reason for occurence of this abend.
Back to top
View user's profile Send private message

hellblazer

New User


Joined: 26 Jun 2010
Posts: 4
Location: Chennai

PostPosted: Tue Jul 20, 2010 10:15 pm    Post subject:
Reply with quote

I cant give any spool information here because its a client machine which it does not have access to google even.

Also find the below information i got from google regarding this abend.

S04C -THE TERMINAL MONITOR PROGRAM (TMP) WAS INVOKED AT ENTRY POINT IKJEFT1A AND THE TMP DETACHED A PROGRAM THAT COMPLETED WITH A NON-ZERO COMPLETION CODE (WHICH IS IN REGISTER 15).

I can understand from the above message that IKJEFT1A is a TMP but i get properly why the abend occured. do someone help me by cracking this abend
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Tue Jul 20, 2010 10:33 pm    Post subject:
Reply with quote

What is in R15?
The program running issued a non-zero RC, why?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8055
Location: East Dubuque, Illinois, USA

PostPosted: Tue Jul 20, 2010 10:35 pm    Post subject:
Reply with quote

You have trouble referencing the Messages and Codes manual?
Quote:
04C

Explanation: A user invoked the TMP (terminal monitor program) and the TMP detached a program that completed with a nonzero completion code. The nonzero completion code is in register 15.
Back to top
View user's profile Send private message
hellblazer

New User


Joined: 26 Jun 2010
Posts: 4
Location: Chennai

PostPosted: Tue Jul 20, 2010 10:57 pm    Post subject:
Reply with quote

William Thompson wrote:
What is in R15?
The program running issued a non-zero RC, why?



Once i reach office tomorrow i ll let u know the information you have asked me..
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 210
Location: Cochin/Kerala/India

PostPosted: Wed Jul 21, 2010 8:51 am    Post subject:
Reply with quote

Hi Hellblazer,
My understanding is as below,
You are invoking a program using TMP as IKJEFT**, your program given some non zero return code.Any non zero return code given to TMP, It will throw the abend S04C abend.the return code of your actual program will be in Register 15, normally register 15 is ued to store the return code.From the Abend Aid or CEEDUMP you will get the value of register 15
Back to top
View user's profile Send private message
hellblazer

New User


Joined: 26 Jun 2010
Posts: 4
Location: Chennai

PostPosted: Wed Jul 21, 2010 5:26 pm    Post subject:
Reply with quote

Hi all thanks a lot.

When i checked with SAR it had an registy for abend.

in that for R15 i had 000008 as value. And yes since this is eight the abend occurred. But why this abend didnt come when we rerun the program. Is that someway related to our input file. If yes then how can i find the error record.

Sorry for asking too many questions icon_smile.gif
Back to top
View user's profile Send private message
bipinpeter

Active User


Joined: 18 Jun 2007
Posts: 210
Location: Cochin/Kerala/India

PostPosted: Wed Jul 21, 2010 5:29 pm    Post subject:
Reply with quote

Hi Hellblazer,
Can you check in the abend aid/CEEDUMP.May be it will given the current record processed.
Back to top
View user's profile Send private message
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 Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm


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