Ian, We relinked our RHDCLEFE (under IDMS R19.0) with TRAP(ON) on CEEUOPT. Made not a bit a difference. Still got the standard TASK SNAP dump. What we really want are the IGZ messages that normally appear in //SYSOUT for batch LE COBOL. For example:
IGZ0006S The reference to table AN-ENTRY by verb number 01 on line 001066 addressed an area outside the region of the table.
From compile unit DCPSQWK5 at entry point DCPSQWK5 at compile unit offset +00000722 at entry offset 0000722
at address 18700722.
<> LEAID ENTERED (LEVEL 02/26/2016 AT 17.55)
<> LEAID PROCESSING COMPLETE. RC=0
This is the error text shown at SYSOUT in batch when an SSRANGE violation occurs under an SSRANGE-compiled LE COBOL program. Very useful and would have saved us at least two days of mucking around with things. We have also learned that under older LE COBOL versions, the CHECK(OFF) setting disables SSRANGE checks at run-time. We had it on under COBOL V4R2. In batch, you get a U4038 Abend. In IDMS-DC you get a UFC6 - X'FC6' = 4038 . Also, the CHECK run-time option is no longer valid under COBOL V5 and up. So, the compile-time option alone - SSRANGE/NOSSRANGE controls everything.