What do you do to resolve SOC-7 error?


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 abends ( it can be generated also by calling some subroutines or OS services thru assembly language). These dumps provide the offset of the last 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 installtion might have batch program debugging tools. Use them.

Category: Mainframe Interview Questions.