To enable tracing for Database Connectors connections

Restriction: This topic applies only when a Database Connectors license has been installed via the Micro Focus License Management System.

Edit a Consolidated Tracing Facility (CTF) configuration file to include the tracing elements for Database Connectors.

  1. Edit or create a CTF configuration file, config.ctf, and ensure it includes:
    mftrace.comp.mf.rts#eprintf
    mftrace.level=info
  2. 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.
  3. Do one of the following:
    • For Oracle, set the following variables in your ACUFH configuration file:
      FILE-TRACE=1
      FILE-TRACE-FLUSH=9
    • For SQL Server, set the following variables in your ACUFH configuration file:
      FILE-TRACE=1
      FILE-TRACE-FLUSH=1
  4. Run your Database Connectors COBOL application.

    The interaction is traced in the log file, located in the current working directory.