What does S0C4 error mean?
Answers were Sorted based on User's Feedback
Answer / sunaina
S0C4 error: Storage violation error - can be due to various
reasons. e.g.: READING a file that is not open, invalid
address referenced due to subscript error.
| Is This Answer Correct ? | 61 Yes | 2 No |
Answer / prashanthkodakani
soc4: protection exception. a program trying to access
out of defined element from the occurs table
| Is This Answer Correct ? | 33 Yes | 6 No |
Answer / kavitha
Protection exception or storage exception error
| Is This Answer Correct ? | 17 Yes | 2 No |
Answer / guest
This error is faced when we execute the COBOL program. The
main reason for this error is that a variable is defined
with less characters and we are trying to move data which is
larger than the actual storage space.
| Is This Answer Correct ? | 39 Yes | 27 No |
Answer / dhhamu
S0C4 error: Storage violation error - can be due to various
reasons. e.g.: READING a file that is not open, invalid
address referenced due to subscript error.
| Is This Answer Correct ? | 14 Yes | 5 No |
Answer / viren
SOC4 Exception Occured in my Program, When I tried to Write
into the File that was not opened.
| Is This Answer Correct ? | 12 Yes | 4 No |
Answer / srilakshmi
SOC4 eroor will occur due to data exception. When we are
trying to move numeric data to alpha numeric then it will
abend with SOC4. For Ex: If the input file is having the
junk values like '??" it will abend. to overcome this abend
we can replace the ?? with spaces we can avoid it..
| Is This Answer Correct ? | 7 Yes | 46 No |
I have one GDG. Everyday One new version is being created.Now I want to split this created version in different files each having 1000 records. Here Problem is I don't know How many records will be there in new version of GDG? that's why I don't know How many Out files we need to use . Interesting??????????????
CAN ANYONE TELL ME WHAT IS "JOB-CARD"
How to do automated restart when a job abend?
How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.
How To get the last record in VSAM file in cluster? and How can u get the ksds file records into ur cobol program ? Pls tell me about these two questions.
how to resolve the soc4 error?
how to modify the copy book?explain with examples
we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?
Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00
There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ?
Max generations in GDG??
//step#3 exec pgm = hkbc762 what is wrong with the syntax?