When executing CA SymDump Batch and Abend Aid on the same LE environment which LE exit gets defined first in LE exit CEEEXTAN? CA SymDump Batch LE exit CAOECEEX or Abend Aid LE exit LEAID?

Document ID : KB000051709
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

To guarantee that CA SymDump Batch reports are produced for abnormal termination under LE CA 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 CA SymDump exit must be listed before the Abend Aid exit in CEEEXTAN.
This will allow CA 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.

Solution:

In order for CA SymDump Batch LE exit CAOECEEX to get control before Abend Aid LE exit LEAID it 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