Redirecting the output of a program into a file on Unix/Linux.

0 Likes

Problem:

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?

Resolution:

The solution on this case is pretty simple. Position this two variables :

A_TERM=none

SHUTDOWN_MESSAGE_BOX=0

And compile your program with -Ca (ansi compatibility for accept and display).

This way the display_log_file will be clean and proper.

Old KB# 2740
Comment List
Related
Recommended