Exit-related commands

In CICS, an exit is installation-supplied code that is invoked either at specific, CICS-defined points within CICS system code, or by an application request that uses the exit mechanism, such as a DB2 or IMS request.

There are two types: global user exits and task-related user exits. Global user exits are always invoked at CICS-defined points in system code; task-related exits can be invoked both ways. Customizing with user exit programs lists the points in CICS code at which global exits may be invoked, describes how and when task-related exits are driven, and gives full details for programming exits.

Five SPI commands are related to exits:
  • ENABLE PROGRAM
  • DISABLE PROGRAM
  • EXTRACT EXIT
  • RESYNC ENTRYNAME
  • INQUIRE EXITPROGRAM

You can use them in any language supported by CICS, even though the exit itself must be coded in assembler.