We were able to find the 2 records causing the S0C7 abends in the COBOL/Syncsort application. Thanks for the help.
Norma Mowry DECC-Mechanicsburg Operating Systems Support (ESB11) (717)-605-7865 DSN:430 e-mail address: [email protected] -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Elardus Engelbrecht Sent: Friday, July 05, 2013 10:18 To: [email protected] Subject: Re: Question on how to debug S0C7 (data exception) abend Lizette Koehler kindly wrote: >1) LE Traps any abends - does some stuff, then returns control to the >abend process Yes. By default as supplied by IBM. With TRAP(OFF) you get nasty side-effects according to LE diagnostic guide. Check the run-time options with RPTOPTS. Norma Mowry wrote: >This is a batch job, executing a COBOL Program, it looks like the program is >doing an internal sort using syncsort. I can see in the dump the statement >failing is a ZAP, but also say a S0C4 abend before the S0C7 abend. Ask your programmers to put in display or trace statements so you can see exactly where in the program and where in the data is the program now just before abend. Or use LE DEBUG run-time options. Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
