Diagnostic traces for attachment facilities

Several trace facilities provide diagnostic information.

  • IMS provides a trace facility that shows the flow of requests across the connections from the IMS control and IMS dependent regions to Db2. The trace is recorded on the IMS log if the appropriate options are specified, and then it is printed with DFSERA10 plus a formatting exit module.

    In addition, the IMS attachment facility of Db2 provides an internal wraparound trace table that is always active. When certain unusual error conditions occur, these trace entries are externalized on the IMS log.

  • You can use the CICS® trace facility to trace the CICS attachment facility.

    Use the transaction CETR to control the CICS trace facility. CETR provides a series of menus that you can use to set CICS trace options to trace the CICS attachment facility. For CICS 4.1 and later, set these values in the Component Trace Options panel:

    • For CICS 4.1, specify the value 2 in the FC field.
    • For later releases, specify the value 2 in the RI field.
  • The TSO attachment facility provides three tracing mechanisms:
    • The DSN trace stream
    • The CLIST trace facility
    • The SPUFI trace stream
  • The call attachment facility trace stream uses the same ddname as the TSO DSN trace stream, but is independent of TSO.
  • The RRSAF trace stream uses the same ddname as the TSO DSN trace stream, but is independent of TSO. An RRSAF internal trace is included in any ABEND dump that is produced by RRSAF. This tracing facility provides a history of RRSAF usage that can aid in diagnosing errors in RRSAF.