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 |
If Name is NOT given for a JOB statement, then will it give error or installation will supply it for the JOB ?
//step#3 exec pgm = hkbc762 what is wrong with the syntax?
What is the purpose of disp parameter?
What does SYSIN * indicate?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
Name the statement which can be used to send data to another mvs jes3 node?
wt will happen to the step of a job if u code COND=ONLY
I have a PDS and want to omit few rows of all members of a PDS. How to do it?
We are aware of eliminating the duplicate records from outyput fiel using sort utility. Can we get the duplicate records in to another file in the Same sort utility?
Is there any command to check wether the ps file is in sorted order?
If I defined space as TRK(10,10) for the one file and lrecl = 4K then tell me how many record will vsam file will contain. will it 1,2,3,4,5 or how many,
What is the use of ikjeft1b utility in jcl?