When executing SymDump Batch and Abend Aid on the same LE environment, which LE exit gets defined first in LE exit CEEEXTAN? SymDump Batch LE exit CAOECEEX or Abend Aid LE exit LEAID?
To guarantee that SymDump Batch reports are produced for abnormal termination under LE SymDump Batch provides two exits.
Only one of the two exits provided must be used. CAOECEEX is the preferred exit and is defined to LE exit CEEEXTAN.
Abend Aid also has an LE exit LEAID that is also defined in CEEEXTAN.
In order for both products to capture dumps in the same LE environment the SymDump exit must be listed before the Abend Aid exit in CEEEXTAN.
This will allow SymDump Batch to get control first.
Once it has completed it's dump capture process it will pass control to the next exit in the CEEEXTAN exit.
In order for SymDump Batch LE exit CAOECEEX to get control before Abend Aid LE exit, LEAID is placed first in LE exit CEEEXTAN as listed in the example below.
See LE PDS CEE.SCEESAMP(CEEEXTAN) for an example of the CEEEXTAN exit.
++ SRC ( CEEEXTAN ) DISTLIB (XXXXXXXX). TITLE 'LE/370 ABNORMAL TERMINATION USER EXIT CSECT' CEEXAHD ,USER EXIT HEADER CEEXART TERMXIT=CAOECEEX POINT TO SYMDUMP CEEXART TERMXIT=LEAID POINT TO ABENDAID CEEXAST ,TERMINATE THE LIST