What is 'S0C7' abend?
Answers were Sorted based on User's Feedback
Answer / satyasivaji.ch
It is an data exception,occurs due to wen ur entered
non-numeric data in numeric fieid.
| Is This Answer Correct ? | 104 Yes | 9 No |
Answer / xyz
SOC7 ABEND OCCURS IN FOLLOWING CASES
1.Numeric Operation on Non-numeric data
2.Coding past the maximum allowed subscript.
3.Un-initialize working storage.
| Is This Answer Correct ? | 70 Yes | 12 No |
bad data abend, as explained in previous answer.
| Is This Answer Correct ? | 41 Yes | 11 No |
Answer / sathya
what they said is right.but i got this error my mistake is
S0C7
Invalid character in COMP/COMP-3 numeric field – check all
COMP/COM-3 numeric fields and arithmetic operations
| Is This Answer Correct ? | 26 Yes | 7 No |
Answer / rakesh kumar.govind
soc7 occurs when type conversion mismatch occurs i.e from
numeric to alphabet.
| Is This Answer Correct ? | 21 Yes | 14 No |
Answer / madhu
If you get S0C7 means some of your numeric variables/data
items have invalid data. now we need to find out how to do
this.
while compiling use compiler option LIST. it will give
listing of your cobol program in spool.
Now, run your program, it will abend will with S0C7
go to spool and take the last four bytes of offset.
open the compiler listing and find those 4 bytes in the
compiler listing.
you can find the position, where S0C7 occured.
In this way , we can find the position where S0C7 error got
generated.
| Is This Answer Correct ? | 10 Yes | 3 No |
Answer / muttaiah
Can someone provide us the step by step procedure to solve
the SOC7 Abend
I'm working in prod supt and we generally get the SOC7
abends.
YOur help in this regard will help me a lot in survivind
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / manish jindal
Dear Muttaiah,
You need to find the exact field where the SOC7 abend has
occured & than try to look into the data that is moved into
it & property of the field.
| Is This Answer Correct ? | 5 Yes | 3 No |
How many positional parameters are there in job statement?
Which is the most widely used batch performance monitor for DB2?
Name some of the JCL statements that are not allowed in procs.?
What are steplib and joblib?
I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?
What do you understand by the terms: joblib and steplib?
What is GDG and what is the maximum limit of versions that can be created?
What is the difference between run mode and addressing mode?
How do you check the syntax of a JCL without running it?
can we give instream data in procedure
What is one line to pass PARM from JCL to COBOL?
What is 'S0C7' abend?