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.
BLS17014I Trap of INPUT/OUTPUT(trap) is not supported for service(sss)
where sss is the name of the requested exit service routine.
TRAPON { ALL }
{ code }
{ (code-list) }
[INPUT [([ABDPL] ) ]]
[ [ [DATA] ]]
[ [ [PARMS] ]]
[ [ [STOP] ]]
[ ]
[NOINPUT ]
[OUTPUT [([RETC] ) ]]
[ [ [DATA] ]]
[ [ [PARMS] ]]
[ [ [STOP] ]]
[ [ [ERROR] ]]
[ ]
[NOOUTPUT ]
code specifies a code that identifies an IPCS-supplied exit service routine.
code-list specifies a list of codes. When you specify a list, separate the list members with commas and enclose the list in parentheses. Otherwise, parentheses are optional.
Restriction: If you specify INPUT(STOP) or OUTPUT(STOP) when running IPCS in the background or in a full-screen dialog, it is ignored.
See Example 1 for a list of the trap options supported by the INPUT and OUTPUT parameters for each exit service routine.
Restriction: If you specify OUTPUT(STOP) or INPUT(STOP) when running IPCS in the background or in a full-screen dialog, it is ignored.
See Example 1 for a list of the trap options supported by the INPUT and OUTPUT parameters for each exit service routine.
See Standard subcommand return codes for a description of the return codes produced by the TRAPON subcommand.
COMMAND ===> trapon all input(abdpl,parms)
This example activates the trap for all the exit services. When a trap is hit, the ABDPL and the parameter list (if used) are displayed.
COMMAND ===> trapon (acc cbf) output(retc)
This example activates the traps for the storage access and the control block formatter service routines and displays the return code on exit from these services.