SQL/MP Programming Manual for COBOL85
Explicit Program Compilation
HP NonStop SQL/MP Programming Manual for COBOL85—429326-004
6-25
Running the SQL Compiler in the Guardian
Environment
•
Generates a listing of the SQL statements in the program file, including any
warning or error messages that occurred.
•
Sets the SQL SENSITIVE and SQL VALID flags in the program file label if the
compilation is successful.
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 or a system
library. The object file can be generated by these programs:
•
COBOL85 compiler
•
Binder program
•
Accelerator
•
SQL compiler
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 } ]