Question { Wipro, 11647 }
What do you do to resolve SOC-7 error?
Answer
Soc7 abend will be thrown because of moving any non numeric variable to numeric variable.
The fix is , you have to go to spool.
Check for the DD names either CESDUMP or AbendAid.
Please select the DD name using S
Then try to find the offset address and line number.
If line number doesn't exist then copy offset address and go back to SYSPRINT in spool
In the command line type L_offset address and press enter
You can now see the exact line.
Now go to your program and enter the line number in command area and press enter
You will be moved to the exact line which has error..you can correct it and then go for recompilation and execution.