COBOL Manual for TNS/E Programs (H06.03+)
Program Compilation
HP COBOL Manual for TNS/E Programs—520347-003
11-84
SQL and NOSQL
RELEASE1
is for the COBOL85 compiler only—see the COBOL Manual for TNS and
TNS/R Programs.
RELEASE2
causes the compiler to accept only SQL/MP Release 2 features; however,
the resulting object file can be executed with SQL/MP Release 350 (or
later).
If you do not specify RELEASE2, the ECOBOL selects the latest SQL/MP
product version (350 or later).
PAGES
allocates num-pages of memory to the SQL compiler interface for
processing SQL/MP statements. Each page is 2048 bytes.
num-pages
has a minimum (and default) value of 860 and the maximum value of 1000.
If you allocate too few pages, an error results.
SQLMAP
includes information about SQL/MP statements in the listing file so that
they can be matched with MEASURE output. MEASURE output identifies
each SQL/MP statement by its Run-Time Data Unit (RTDU) name and SLT
index. An RTDU is an internal SQL/MP data structure residing in the code
file. An SLT index maps a single SQL/MP statement to a table in the
RTDU. By default, the SQLMAP option is off.
WHENEVERLIST
lists the WHENEVER options that are active for each embedded SQL/MP
statement printed to the listing file. WHENEVER options are a feature of
SQL/MP. For information on them, see the SQL/MP Reference Manual or
the SQL/MX Programming Manual for C and COBOL. By default, the
WHENEVERLIST option is off.
Default: None. If the program contains SQL/MP statements, the SQL directive is
required; otherwise, it is unnecessary.
Placement: In the compiler command line.
Scope: Applies to the compilation unit
Dependencies: SQL works only if LIST is active and SUPPRESS is not.
References:
•
LIST and NOLIST
•
SUPPRESS and NOSUPPRESS










