S0C1 Abend in COBOL



Get solution for your ABEND Codes & System Error Messages, SQL Codes, File Status etc...

S0C1 Abend in COBOL

Postby ankur0789 » Wed Sep 12, 2012 11:08 pm

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
ankur0789
 
Posts: 1
Joined: Wed Sep 12, 2012 10:51 pm
Has thanked: 0 time
Been thanked: 0 time

Re: soc1 abend

Postby NicC » Wed Sep 12, 2012 11:11 pm

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?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: soc1 abend

Postby BillyBoyo » Thu Sep 13, 2012 12:16 am

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.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times


Return to ABENDS & SQL Codes

 


  • Related topics
    Replies
    Views
    Last post