IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

S04C - Abend - Reason


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
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
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
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: 3156
Location: Tucson AZ

PostPosted: Tue Jul 20, 2010 10:33 pm
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Jul 20, 2010 10:35 pm
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
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: 213
Location: Cochin/Kerala/India

PostPosted: Wed Jul 21, 2010 8:51 am
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
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: 213
Location: Cochin/Kerala/India

PostPosted: Wed Jul 21, 2010 5:29 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts Reorg abended with REASON=X'00E40347' DB2 2
No new posts ISAM and abend S03B JCL & VSAM 9
No new posts REASON 00D70014 in load utility DB2 6
No new posts Abend S0C4 11 (Page Translation Excep... PL/I & Assembler 16
No new posts WER999A - UNSUCCESSFUL SORT 8ED U Ab... SYNCSORT 5
Search our Forums:

Back to Top