HP NonStop SQL/MP Programming Manual page 131

For c
Table of Contents

Advertisement

Explicit Program Compilation
[\system.]external-file
\system is an optional system name. external-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 produce 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.
CATALOG catalog-name
specifies the name of the catalog where the program is to be registered.
catalog-name is a subvolume name. If you partially qualify the catalog name, the
system expands the name by using your current default values.
You can also specify a class CATALOG DEFINE for catalog-name.
The catalog, object file, and SQL compiler must reside on the same system.
If the program was previously SQL compiled and recorded in a different catalog,
catalog-name overrides the catalog name stored in the program file. The
program is dropped from the previous catalog and recorded in catalog-name.
If you omit the CATALOG clause, the SQL compiler uses the current default
catalog. If you have not defined a default catalog, the SQL compiler uses your
current default subvolume.
CURRENTDEFINES | STOREDDEFINES
specifies the set of TACL DEFINEs used to interpret DEFINE names in the SQL
statements in the program file.
CURRENTDEFINES (the default) selects the current set of TACL DEFINEs for
compiling the program.
STOREDDEFINES selects the set of TACL DEFINEs used for SQL tables and
views that were stored in the program file the last time it was SQL compiled.
(SQLCOMP does not store the settings for the =_DEFAULTS DEFINE in the
program file.) STOREDDEFINES applies only to programs that have been SQL
compiled.
HP NonStop SQL/MP Programming Manual for C—429847-008
Running the SQL Compiler in the Guardian
6-15
Environment

Advertisement

Table of Contents
loading

Table of Contents