Tracing applications using component trace

The component trace service (also referred to in the remainder of this information as simply “component trace”) provides common tracing services for components, subsystems, or applications. Component trace allows you to capture information about application-specific events for debugging problems in your application, or for system analysis.

To use component trace, you create trace entries at various points in your application to capture the data you require. You decide the location of the trace points, what the trace entries will contain, and which trace entries, if any, to create at any given time. You store the trace entries in trace buffers. The entries are externalized in a dump or, by using the component trace external writer, in a trace data set on a direct access storage device (DASD) or tape.

Benefits of using component trace: While you might choose to write your own trace services to capture the events, the advantages of using component trace instead are that you will:
This information contains the following: