Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

Using enhanced traps (Code Debug CICS COBOL)


Setting Program Breakpoints gave an example of how to set a breakpoint to halt execution. In this section, we will create enhanced traps and discuss their affect on program execution and abends.

Enhanced trapping is an extension of regular trapping. A trap can be enhanced so breakpoints and abends are only taken when the specified condition is met. That condition can be a value in the initial COMMAREA (ICA), in a specific “big commarea” container (CONT+containername), MQ message descriptor (MQMD), or MQ message data (MQD). For more information, see the description of the Trap Summary screen (1.6 or 9.6) in the Code Debug CICS Reference Manual.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*