Skip to main content

How to configure CTF to capture events for RunUnits in COBOL


Kim Hoskin
Forum|alt.badge.img+2

Problem:

How to configure CTF to capture events for RunUnits in COBOL.

This article assumes an understanding of CTF (Consolidated Tracing Facility), but requires additional tracing enabled for code executing within Run Units.
CTF (Consolidated Tracing Facility) can capture events for Run Units but it is not clearly stated which emitters are needed to enable this.

Resolution:

The CTF Configuration file should have the the following emitters:

mftrace.emitter.textfile#Format = $(RUNUNIT) $(TIME) $(THREAD) $(COMPONENT) $(EVENT) $(LEVEL) $(DATA)
mftrace.emitter.textfile#RununitID=True
mftrace.emitter.textfile#MultiProc=True