SQL/MP Programming Manual for C

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for C429847-008
6-14
Running the SQL Compiler in the Guardian
Environment
Entering the SQLCOMP Command
To run the SQL compiler in the Guardian environment, enter the SQLCOMP command
at the TACL prompt or from an OBEY command file by using this syntax. (For
information about running the SQL compiler using the c89 utility in the OSS
environment, see Developing a C Program in the OSS Environment on page 6-28.)
object-file
is a Guardian disk file name. This file cannot be part of a user library or a system
library. The object file can be generated by the C compiler, Binder program,
Accelerator, OCA, or SQL compiler.
You must run the SQL compiler on the same system where object-file exists.
If you do not specify a system or volume name, the SQL compiler uses your
current default values.
list-file
identifies the destination where 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) as follows:
SQLCOMP / IN object-file [ , OUT [ list-file ] ]
[ , run-option] [ , run-option ]... /
[ compiler-option [ , compiler-option ]... ]
compiler-option is:
[ CATALOG catalog-name ]
[ CURRENTDEFINES | STOREDDEFINES ]
[ EXPLAIN ]
[ [ PLAN ] ]
[ [ DEFINES [ file-name ] [, OBEYFORM ] ] ]
[ NOEXPLAIN ]
[ FORCE | NOFORCE ]
[ OBJECT | NOOBJECT ]
[ RECOMPILE | NORECOMPILE ]
[ RECOMPILEONDEMAND | RECOMPILEALL ]
[ REGISTERONLY { ON | OFF } ]
[ NOREGISTER { ON | OFF } ]
[ CHECK { INVALID PROGRAM }
{ INVALID PLANS }
{ INOPERABLE PLANS } ]
[ COMPILE { PROGRAM [ STORE SIMILARITY INFO ] }
{ INVALID PLANS }
{ INOPERABLE PLANS } ]