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 |
What are the common keyword parameters in both job and exec statements
What parameter of the job statement is used to limit the cpu time consumed by the job?
How much space OS allocates when you create a PS or PDS?
What is GDG?
In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?
I am getting the file from Unix to Mainframes for every 15 minutes. The mainframe job get abended with bad records coming from unix. I recovered that by deleting the bad data. I need permenant solution how to fix the issue? The record is getting characters in in first 9 positions which it should not. Please provide me the solution how to skip the records if it finds the charcters in the first 9 positions. K
how do you resolve for soc7 error
How to get the last but one duplicate record of the file using Sort?
Explain in DD statement what is the use of DCB parameter?
How to send different PARM values based on the any condition to the program in a JCL? For example :- If the time is before 12:00 pm, I want to send "A" to some program and if it past 12:00 pm , I want to send "B" as a PARM value to that program. How to do it thur JCL only?
What is the significance of addrspc parameter in exec statement?
01 A. 10 B pic X(10). move spaces to A. move spaces to B. output in A & B