17.10 - CLI Trace File - Call-Level Interface Version 2

Teradata® Call-Level Interface Version 2 Reference for Workstation-Attached Systems

Product
Call-Level Interface Version 2
Release Number
17.10
Release Date
October 2021
Content Type
Programming Reference
Publication ID
B035-2418-061K
Language
English (United States)

To identify the cause of the error, create CLIv2 trace file by setting the following environment variables.

For non-Windows:

$ export THREADONOFF=1

$ export THREADONOFF=1

For Windows:

C:\> set COPANOMLOG=<filename>

C:\> set THREADLOGGING=1

“THREADONOFF=1” or “THREADLOGGING=1” is used for creating separate trace files based on the process ID and thread ID. For more information about the CLIv2 trace file or additional environment variables, see CLI Files and Setup.
$ export COPANOMLOG=<filename>