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
-
ankur0789
- Posts: 1
- Joined: Wed Sep 12, 2012 10:51 pm
- Skillset: cobol,jcl,ims
- Referer: google
-
NicC
- 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
-
BillyBoyo
- 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
- 2594
-
by Misha786
View the latest post
Thu Aug 25, 2022 7:19 pm
-
- 2
- 5618
-
by enrico-sorichetti
View the latest post
Mon Oct 30, 2023 6:25 pm
-
- 1
- 5231
-
by Leixner
View the latest post
Thu Sep 15, 2022 3:33 am
-
- 12
- 17570
-
by Robert Sample
View the latest post
Thu Dec 15, 2022 9:28 pm
-
- 2
- 6412
-
by sergeyken
View the latest post
Sat Nov 11, 2023 3:01 am