SQL/MP Programming Manual for COBOL

Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL529758-003
6-28
Running the SQL Compiler in the Guardian
Environment
Running the SQL Compiler in the Guardian Environment
To run the SQL compiler in the Guardian environment, enter the SQLCOMP command
at the TACL prompt or from a TACL OBEY command file using this syntax:
object-file
is a Guardian disk file name. This file cannot be part of a user library, a system
library, or a DLL. The object file can be generated by these programs:
HP COBOL compiler
Binder program or linker
Accelerator
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 current
default values.
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 } ]