You activate the trace for COBOL and C/C++ program unit calls by setting the environment variable KDCS_C_DEBUG.
The environment variable is evaluated each time a work process is started. If the C/C++ programs have been programmed using the KDCS macros from the header filekcmac .h then all the KDCS calls from these C/C++ program units are also logged. By default, the traces are output to stdout.
If the trace of the KDCS calls is to be output to another file, before including kcmac.h you must set the preprocessor variable KDCS_DEBUG_FP to the name of a self-defined FILE variable in every program unit in which you want to write traces to this file, and define this FILE variable as external. You define this FILE variable in the Start-Exit and supply its value.
Default: the calls are not traced.