View previous topic :: View next topic
|
Author |
Message |
baljinders
New User
Joined: 21 Aug 2006 Posts: 72
|
|
|
|
Hi Everyone,
I am getting SOC4 abend and not able to figure out the solution.
SYSTEM COMPLETION CODE=0C4 REASON CODE=00000010
when i go into abend -aid, i see this message for a production file i am using as input.
Code: |
File errors ...(ACB) return code = 000 (X'00')
All data sets were opened successfully.
Reason code = 000 (X'00')
No error.
...(RPL) return code = 008 (X'08')
Logical error; specific error is indicated
in feedback field in the RPL.
Reason code = 016 (X'10')
Record not found. |
Code: |
Current key:
379C2940 CHAR 00146146990
ZONE FFFFFFFFFFF
DIGIT 00146146990
1...5...10.
Current record:
The current record is not available because the record was not found.
Previous record:
No previous record for skip sequential or random processing.
Data Component: |
I have verified that all the DD names are correct and matching with the assign clause.
Let me know what approach i need to follow to get this corrected ? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you determine which instruction is causing the 0c4. Once you know the instruction, you can correct the problem.
What kind of program is this? Not just COBOL, but what does it do? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
For a S0C4 abend, Abend Aid puts out a very nice listing that includes the most common causes of the abend. Based on the instruction that is abending, you can use the listing to rule out possible causes until you find out what the problem is.
You could also start by looking at the code for the input file. If a record is not found, and your program attempted to access the record (or any part of it) ANYWAY, you could easily get a S0C4 abend by doing so. |
|
Back to top |
|
|
baljinders
New User
Joined: 21 Aug 2006 Posts: 72
|
|
|
|
The problem was because of one of the input file. Now the problem has been resolved.
Thanks Guys... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
The problem was because of one of the input file. Now the problem has been resolved. |
Good to hear it is working, but what problem was found with "one of the inpout file"?
If you post the cause/solution, it will help someone else. . . |
|
Back to top |
|
|
|