If you use a sintax like this one
runcbl -e error_log_file o display_log_file programme_cobol
to redirect the DISPLAYS of your application into a log_file and you have control characters all over the place, what to do to have a clean display_log_file?
The solution on this case is pretty simple. Position this two variables :
And compile your program with -Ca (ansi compatibility for accept and display).
This way the display_log_file will be clean and proper.