Using a program error program (PEP)

The program error program (PEP) gains control after all program-level ABEND exit code has executed and after dynamic transaction backout has been performed.

About this task

There is only one program error program for the whole region.

Procedure

  1. Decide whether you want to use the CICS-supplied program error program, DFHPEP or create your own.
    The CICS-provided DFHPEP program executes no functions, but you can include in it your own code to carry out an installation-level action following a transaction abend (see The CICS-supplied PEP).
  2. If you decide to create your own PEP, modify the CICS-supplied version.
    The default DFHPEP is in CICSTS55.CICS.SDFHLOAD, and is defined in the CICS DFHMISC group in the CSD.

    Read the guidance provided in Writing a program error program for details on writing a PEP.

  3. Update the GRPLIST system initialization parameter to include the DFHLIST group list.
    This includes a definition for the DFHMISC group.