Capture Program Interrupts



This is the mnemonic for Exit Programs which facilitate the trapping of Program Interrupts. The original 24-bit versions was SPIE, which with the advent of 31-bit addressing has become ESPIE.

ESTAE exits could also be used to trap Program Interrupts. but ESPIE is more efficient especially if other ABEND types are not of interest.

In the example opposite the ESPIE Macro is set to intercept 0C7 conditions only, and the exit issues U0240 REASON 000000C7 as well as printing the related storage area on DD statement DIAGINFO if a Data Exception occurs.


Copyright © Legac-e Education 2021-