Generally SOC-7 occurs due to data mismatch between source and destination fields. Passing non numeric data in to numeric fields .
We can resolve SOC-7, by going to spool, check sysdump and copy offset
value,than come to jcl,in command line type F Offset value
then press f5 ,you will get location where the error, then
This below steps may help you.
1. check spool details of run job.
You will find a line similar to following.
Code: offset +00000AB6 at entry offset +00000AB6 copy last 4 bytes of offset i.e., copy 0AB6
2. go to spool details of compile job.
go to sysprint
you can find the statement as shown in below example.
Just few lines above the line, where you have found 4 digit offset
number, you can find the cobol verb , that is where COBOL program
abended with SOC7. In above example, cobol program abended with SOC7 at