View previous topic :: View next topic |
Author |
Message |
bade_miya Beginner
Joined: 10 Dec 2003 Posts: 110 Topics: 38
|
Posted: Sat Apr 29, 2006 6:28 am Post subject: S0C4 abend while reading |
|
|
Hi All,
I am trying to process some 2 million records. My program is giving S0C4 abend while reading some records. for example, for the first 100 records or so its working fine. Then it will give abend on the next record. When i remove the 101th(These are not exact figures, just quoted as an example) record, its again working fine, say for some 1000 records and again giving the same problem. If it was a data problem it should be giving S0C7 right? Can any one give me a clue on why this is happening.
Please not that its not happning in a regular intrevel of records.
I have searched the forum, but didnt get any helful topics. I saw one similar topic, but in that the problem was caused because the subroutine file was not declared external. In my case there is no subroutine, just one single program. Please let me know in case you need more details.
Thanks & Regards
bade_miya. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Sat Apr 29, 2006 10:53 am Post subject: |
|
|
bade_miya,
Make sure that you don't have a table over flow.
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
ramesh161 Beginner
Joined: 09 May 2006 Posts: 5 Topics: 0
|
Posted: Tue Jul 04, 2006 6:30 am Post subject: |
|
|
I want to add more info. on the above abend
When dealing more volumes of data, the program will try to write into the memory which already filled by data. Then it will give SOC4(data protection error)
Because once the data filled in the particular area in memory, it won't allow to write again in that place till that program completes. When try to write other data in that place, it is giving error like already data is there and it is protected.
If you are using table, it will give this error. For correcting that one, we need to increase or decrease the occurs clause and run the job. |
|
Back to top |
|
|
hemakumarl Beginner
Joined: 19 Feb 2004 Posts: 7 Topics: 3
|
Posted: Sat Nov 25, 2006 4:44 am Post subject: help |
|
|
Hello,
I am also facing the same problem as mentioned ablove while sorting and merging the files with imput/output procedure options. RELEASE command also been used. I would like to know the solution for this problem. Could somone help me in this please...
Regards
Hemakumar _________________ Hemakumar L. |
|
Back to top |
|
|
shagnwrx Beginner
Joined: 06 Jul 2006 Posts: 14 Topics: 0 Location: Birmingham, AL
|
Posted: Mon Nov 27, 2006 10:49 am Post subject: |
|
|
Try using SSRANGE on your program. That should help to identify the overflow. _________________ SCCA South East Division RallyCross |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Thu Jun 14, 2007 11:11 am Post subject: |
|
|
what is the reason code you are getting along with S0c4? |
|
Back to top |
|
|
Phantom Data Mgmt Moderator
Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu Jun 14, 2007 11:55 am Post subject: |
|
|
vak255,
Quote: |
what is the reason code you are getting along with S0c4?
|
Whom are you referring to ??? OP never bothered to reply for more than a year.. Do you think he will remember the reason code ?
Thanks,
Phantom |
|
Back to top |
|
|
|
|