Data Definition Language (DDL) Reference Manual

DDL Compiler Commands
Data Definition Language (DDL) Reference Manual529431-004
9-82
OUT
OUT
The OUT command specifies the destination for compiler output (source lines,
warnings, and error messages).
listing-destination
is a file name or output device.
Default: destination specified in the OUT run option of the RUN DDL Command on
page 3-1
The OUT command can be used anywhere within a DDL source code file. Different
portions of the listing can be written to different destinations.
If you use the OUT command in an interactive session to change the output device to a
device other than your terminal, the session ceases to be interactive. As a result, you
cannot use the EDIT command until a subsequent OUT command changes the output
device back to your terminal.
If the listing destination you specify is an existing file, the DDL compiler appends the
listing to the end of the existing file.
OUT [ listing-destination ]
Example 9-40. OUT Command
*beginning of source code file
...
List source lines on listing destination from the
RUN DDL command.
?OUT $S.#printer
...
List source lines and error messages on
$S.#printer and list error messages on the listing
destination from the RUN DDL command.
?OUT
...
*end of source code file
Stop listing on $S.#printer and return to the RUN
DDL command listing destination.