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.
- In your
ACUFH configuration file, set the following variables:
FILE-TRACE 1
FILE-TRACE-FLUSH 1
- Run your
Database Connectors COBOL application.
The interaction is traced in the log file, located in the current working directory.