Edit a Consolidated Tracing Facility (CTF) configuration file to include the tracing elements for
Database Connectors.
- Edit or create a CTF configuration file,
config.ctf, and ensure it includes:
mftrace.comp.mf.rts#eprintf
mftrace.level=info
- Set the MFTRACE_CONFIG and MFTRACE_LOGS environment variables:
MFTRACE_CONFIG=config.ctf
MFTRACE_LOGS=.
Note: These values specify that a configuration file called
config.ctf is used within the current working directory, and that the tracing log file is also created in the current working directory.
You may change these values to suit your needs.
- Do one of the following:
- Run your
Database Connectors COBOL application.
The interaction is traced in the log file, located in the current working directory.