SQL/MP Programming Manual for COBOL

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL529758-003
6-29
Running the SQL Compiler in the Guardian
Environment
list-file
is the destination to which the SQL compiler directs the listing. list-file can be
a disk file name, process name (including a spooler collector), or a device name
(including a terminal, magnetic tape unit, or line printer):
[\node.]file
\node
is an optional node (system) name.
\file
is one of these Guardian names:
[$volume-name.][subvolume-name.]disk-file-name
$device-name
$device-number
$process-name
$spooler-collector-name[.#spooler-location-name]
list-file can also be a class SPOOL DEFINE name.
If list-file does not exist, the SQL compiler creates it. If list-file already
exists, the SQL compiler appends the new output to it.
If you specify OUT but omit list-file, the SQL compiler does not generate a
listing. If you omit OUT, the SQL compiler directs the listing to the OUT file of the
invoking process (usually, your home terminal).
run-option
is a TACL RUN command option as described in the TACL Reference Manual.
SQL Compiler Options
CATALOG catalog-name
is the name of the catalog to hold a description of the program. catalog-name is
a subvolume name. If you partially qualify the catalog name, the system expands
the name by using the current default values.
The SQL compiler, the object file, and the catalog must reside on the same
system.
You can also specify a CLASS catalog DEFINE name for catalog-name.
If the program was previously SQL compiled and recorded in a different catalog,
the catalog-name overrides the catalog name stored in the program file. The
program is dropped from the previous catalog and recorded in catalog-name.