Joined: 06 Jun 2008 Posts: 8057 Location: East Dubuque, Illinois, USA
You resolve a S0C7 or S0C4 abend the same way you resolve ANY abend. You use the dump to determine which statement caused the abend. You analyze the code to determine why that staement caused the abend. You correct the program so the abend no longer is possible.
If you want specific details, you need to let us know which language you are using -- finding the statement is different in COBOL compared to assembler, for example. Debugging an online program is different than debugging a batch program. Without details like this, all you can get is generic answers.