Names the target file for output. The default file extension is
.lis.
If you specify OUTPUT with a file name, SQL writes its output
to a log file that you specify. The log file contains both
statements and results. If you issue a SET OUTPUT statement,
output is also written to standard output which is usually the
terminal.
If you specify OUTPUT without a file name, SQL suspends writing
output to a log file, if any, and writes the output to the
standard output. In other words, the SET OUTPUT statement without
a file name is equivalent to the SET NOOUTPUT statement.
SQL displays certain items (such as the headings produced by
the SHOW statement) in boldface type on your terminal screen. In
log files, however, the boldface items are surrounded by escape
characters. You can ignore these escape characters, edit them
out of your log file, or set your terminal so that SQL does not
display characters in boldface type.
If you disable boldface type using the following DCL command,
your log file will not contain escape characters:
$ SET TERM/NOANSI_CRT