Defining exits

The kernel defines the four process start and end exits at kernel initialization time by means of the CSVDYNEX service.

Rule: When you are adding exit routines to an exit, certain exit attributes are required.

For BPX_PREPROC_INIT, BPX_POSPROC_INIT, and BPX_IMAGE_INT:
  • AMODE=31
  • REENTRANT=REQ
  • PERSIST=IPL
  • ABENDNUM=10000
  • ABENDSCONSEC=YES
  • FASTPATH=YES,KEY=0
For BPX_PREPROC_TERM:
  • AMODE=31
  • REENTRANT=REQ
  • PERSIST=IPL
  • ABENDNUM=10000
  • ABENDSCONSEC=YES
  • FASTPATH=NO,KEY=0