COBOL Manual for TNS and TNS/R Programs
Program Compilation
HP COBOL Manual for TNS and TNS/R Programs—522555-006
11-123
SQL and NOSQL
RELEASE1
is for the COBOL85 compiler only, and causes it to accept only SQL/MP
Release1 features; however, the resulting object file can be executed with
SQL/MP Release 1, Release 2, or 300 (or later)..
RELEASE2
causes the compiler to accept only SQL/MP Release 2 features; however,
the resulting object file can be executed with SQL/MP Release 2 or 300 (or
later).
If you do not specify RELEASE1 or RELEASE2, the COBOL85 compiler
selects SQL/MP Release 2 and the NMCOBOL selects the latest SQL/MP
product version (300 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 560 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.