ALWAYS lets you control ODBC tracing via a directive, which is more convenient from within the IDE. ALWAYS generates the trace into MFSQLTRACE.LOG in the current directory, regardless of the settings on the ODBC control panel (Windows) or in odbc.ini (UNIX).
Under normal development conditions, and depending on the project's build setting, this is the Debug or Release directory of the current project. NEVER means that the application will never be traced and overrides the control panel (Windows) or odbc.ini (UNIX). As ODBC trace files can contain sensitive information, use NEVER in production applications in secure environments. For more information see the database driver documentation.
ODBCTRACE={ALWAYS | NEVER | USER}
Default: | ODBCTRACE=USER. |
Used at compile time: | No |
Behavior at run time: | Process |
See Scope - OpenESQL SQL Compiler Directive Options for more information.