Often you want to send a log file to stdout so you can then redirect it to wherever.
In Cobol, you can use:
SELECT OUTPUT-LOG ASSIGN ':CO:'
:CO: is standard output (stdout)
These can also be used:
:CI: is standard input (stdin)
:CE: is standard error (stderr)