Hi,
I am getting SOC1 abend in executing JCL running a cobol program.
more than half of records of input file have been processed and written to output file.
But after this i am getting the SOC1 abend. this abend occurring when I am processing a large file of 2.5 million records.
but when processing a small file which only have 100 thousand records processed fine and job ran successfully.
please guide me over the same....as i am new to cobol programming
S0C1 Abend in COBOL
-
- Global moderator
- Posts: 3025
- Joined: Sun Jul 04, 2010 12:13 am
- Skillset: JCL, PL/1, Rexx, Utilities and to a lesser extent (i.e. I have programmed using them) COBOL,DB2,IMS
- Referer: Google
- Location: Pushing up the daisies (almost)
Re: soc1 abend
Welcome to the forum!
First of all, have you found out what a S0C1 abend actually is? Have you looked on the forum for other discussions on this abend code?
First of all, have you found out what a S0C1 abend actually is? Have you looked on the forum for other discussions on this abend code?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
Regards
Nic
-
- Global moderator
- Posts: 3805
- Joined: Tue Jan 25, 2011 12:02 am
- Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
- Referer: Google
Re: soc1 abend
In your previous records there was not data to cause this particular problem.
In your second set of data, and the quantity of it needn't be significant, but might be, data existed to cause the S0C1.
You probably have an OCCURS and have a subscript/index that has "gone wild".
Are you using compile option SSRANGE? This automatically checks that you don't exceed the defined boundaries of your tables.
In your second set of data, and the quantity of it needn't be significant, but might be, data existed to cause the S0C1.
You probably have an OCCURS and have a subscript/index that has "gone wild".
Are you using compile option SSRANGE? This automatically checks that you don't exceed the defined boundaries of your tables.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 1850
-
by Misha786
View the latest post
Thu Aug 25, 2022 7:19 pm
-
- 0
- 2141
-
by MainframeCoder
View the latest post
Thu Oct 14, 2021 6:13 am
-
- 0
- 1817
-
by bwissink
View the latest post
Thu Sep 02, 2021 10:04 pm
-
- 3
- 1800
-
by Blackthorn
View the latest post
Fri Mar 05, 2021 9:34 pm
-
- 2
- 4471
-
by sergeyken
View the latest post
Sat Nov 11, 2023 3:01 am