SQL Programming Manual for TAL

Program Compilation and Execution
HP NonStop SQL Programming Manual for TAL527887-001
5-6
Running the SQL Compiler
To run the SQL compiler, use the SQLCOMP command. The syntax is:
object-file
is a disk file name. This file cannot be in a user library or a system library. The
object file can be generated by the:
TAL compiler
Binder program
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 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). The syntax is:
[\ system.] external-file
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 ]