View previous topic :: View next topic
|
Author |
Message |
hellblazer
New User
Joined: 26 Jun 2010 Posts: 4 Location: Chennai
|
|
|
|
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 |
|
|
hellblazer
New User
Joined: 26 Jun 2010 Posts: 4 Location: Chennai
|
|
|
|
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 |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
What is in R15?
The program running issued a non-zero RC, why? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
hellblazer
New User
Joined: 26 Jun 2010 Posts: 4 Location: Chennai
|
|
|
|
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 |
|
|
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
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 |
|
|
hellblazer
New User
Joined: 26 Jun 2010 Posts: 4 Location: Chennai
|
|
|
|
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 |
|
Back to top |
|
|
bipinpeter
Active User
Joined: 18 Jun 2007 Posts: 213 Location: Cochin/Kerala/India
|
|
|
|
Hi Hellblazer,
Can you check in the abend aid/CEEDUMP.May be it will given the current record processed. |
|
Back to top |
|
|
|