Problem:
READY TRACE is set up in an online program. The trace compiler directive was set. When the program executes the trace logging is written directly to the online screen. How can the ready trace output be directed to a physical log file?
Resolution:
Trace output defaults to standard out. Try setting the OUTDD compiler directive to redirect the file. A simple example would be compile the program with the directive:
cob -C OUTDD=SYSOUT myprogram.cbl
then establish the desired location for the log file.
export SYSOUT=/home/dir/myfile.txt
For more information on the OUTDD compiler directive, see the online documentation at: http://supportline.microfocus.com/Documentation/books/sx40sp2/stpubb.htm



