I am facing the SOC7 abend,(for example in 100 variables, the 10th variable only causing this abend)this is due to bad data is moving to that variable
Without changing the input datas how to solve this problem?
Basically you need to correcting the offending data. Many times the reason for SOC7 is an un-initialized numeric item.
Examine that possibility first. Many installations provide you a dump for run time abend?s ( it can be generated also by calling some subroutines or OS services thru assembly language).instruction at which the abend occurred.
Examine the compilation output XREF listing to get the verb and the line
number of the source code at this offset.
Then you can look at the source code to find the bug. To get capture the runtime dumps, you will have to define some datasets (SYSABOUT etc ) in the JCL.
If none of these are helpful, use judgement and DISPLAY to localize the source of error. Some installation might have batch program debugging
tools. Use them.
PLZ CHECK THE POST PREVIOUSLY AND POST UR NEW TOPICS