On 8/06/2021 9:05 am, Clark Morris wrote:
What I object to is LE obscuring the original abend code with an abend code that doesn't have a 1 to 1 relation to the original abend. A U4xxx-S0C7 message would be adequate.
LE condition handling is to number 1 reason why assembler programmres hate LE. It's also one of the reasons why it's unsuitable for systems level programming.
In regard to the application programmer in the original posting, Has he or she looked at all of the documentation such as CEEDUMP which as I recall has the original abend code?
There is no CEEDUMP with U4037 abends. The condition handler can't produce a stack trace because of recursive condition handling. In my experience this is usually a storage overwrite which has clobbered the save area chains. I advise the OP to turn off condition handling using the 'TRAP(OFF,NOSPIE)' run time option and then diagnose the dump using IPCS or whatever friendlier dump analysis tool such as Fault Analyzer.
Is that programmer knowledgeable enough to know that a S0C7 is an application error 99.999 percent of the time (there may be a rare instance where it isn't).
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
