Joined: 23 Nov 2006 Posts: 19270 Location: Inside the Matrix
Does your site have Abend-Aid? It rather clearly points out many errors.
You can use the abend displacement info and your compile listing to locate which instruction and/or data field is involved with the 0c7 abend. The 0c4 may take more digging. If the 0c4 happens in a program that uses the SORT statement, it is often caused by an ungraceful exit from the sort. Some DISPLAY statements in the code may help isolate where the abend occurs.
You might also want to go to amazon.com and consider this book 'Application Debugging: An MVS Abend Handbook for Cobol, Assembly, PL/1, and Fortran Programmers (Prentice-Hall Software Series) (Hardcover) by Robert Binder (Author)"