TRAPON subcommand — activate IPCS traps

Use the TRAPON subcommand to activate IPCS-supplied traps. If you write your own installation exit and use one of the exit service routines, which are described in z/OS MVS IPCS Customization, use the TRAPON, TRAPOFF, and TRAPLIST subcommands to obtain diagnostic input and output information. You can also use these subcommands to set traps when executing IPCS code that uses the exit service routines.

If a TRAPON subcommand requests several traps, IPCS activates only supported traps. Whenever an unsupported trap is requested, IPCS issues the following message:
BLS17014I Trap of INPUT/OUTPUT(trap) is not supported for service(sss)

where sss is the name of the requested exit service routine.

Note: Activated traps are not retained between IPCS sessions.
During STOP processing, all traps are temporarily deactivated until the GO subcommand is entered to resume the stopped operation. This temporary deactivation of traps is done because some of the subcommands available during STOP processing also use exit services and therefore are also trapped.