To create and load a binary trace file into the CTF Viewer
Enable CTF tracing.
Configure CTF to generate a binary trace file when the application is run, by adding the following lines to the configuration file
ctf.cfg:
mftrace.dest = binfile
mftrace.emitter.binfile#location = <directory in which to write the trace file>
Run the application.
Click
File > Open File, and then double-click the trace file you want.
Alternatively you can create a project containing the trace files.
Create a new project of the General type.
Follow the wizard, and when it asks for the location of your files, specify the directory containing your trace files. We recommend that you specify the trace file location defined in the
mftrace.emitter.binfile#location entry in your CTF configuration file.
In the COBOL Explorer view, double-click a trace file to load it into the viewer.