
Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for C—429847-008
6-15
Running the SQL Compiler in the Guardian
Environment
[\
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.
Содержание NonStop SQL/MP
Страница 4: ......
Страница 14: ...Contents HP NonStop SQL MP Programming Manual for C 429847 008 x ...
Страница 34: ...Introduction HP NonStop SQL MP Programming Manual for C 429847 008 1 8 SQL MP Version Management ...
Страница 60: ...Host Variables HP NonStop SQL MP Programming Manual for C 429847 008 2 26 VARCHAR Data Type ...
Страница 68: ...SQL MP Statements and Directives HP NonStop SQL MP Programming Manual for C 429847 008 3 8 Finding Information ...
Страница 156: ...Explicit Program Compilation HP NonStop SQL MP Programming Manual for C 429847 008 6 40 SQL Program Files ...
Страница 264: ...Dynamic SQL Operations HP NonStop SQL MP Programming Manual for C 429847 008 10 66 Detailed Dynamic SQL Program ...
Страница 294: ...SQL MP Sample Database HP NonStop SQL MP Programming Manual for C 429847 008 A 6 ...
Страница 300: ...Memory Considerations HP NonStop SQL MP Programming Manual for C 429847 008 B 6 Avoiding Memory Stack Overflows ...
Страница 304: ...Maximizing Local Autonomy HP NonStop SQL MP Programming Manual for C 429847 008 C 4 Skipping Unavailable Partitions ...