To enable CTF:
Set the following environment variables:
set MFTRACE_CONFIG=ctf.cfg set MFTRACE_LOGS=pathname *> if not set, logs are stored in the current folder.
In ctf.cfg, set the following:
mftrace.dest = textfile mftrace.level.mf.rts = info mftrace.comp.mf.rts#eprintf = true
set A_CONFIG=rmfm.cfg *> rmfm is your RMFM configuration file
In rmfm.cfg, set the following:
DEFAULT_FILESYSTEM RMFM FILE_TRACE 3 *> values 0-9 set amount of activity traced.
When you run your program, a log-file is produced that includes the activity with the RM/COBOL data files.
For more information on CTF, see Introduction to the Consolidated Tracing Facility.