This Natural profile parameter and its keyword subparameters can be used at session start
to specify dynamically or to override the same compiler options which you can specify
statically with the NTCMPO
macro in the Natural parameter
module or, during an active session, with the system command COMPOPT
.
Possible settings | See CMPO Parameter Syntax. | |
---|---|---|
Default setting | Identical to the corresponding
COMPOPT options. See Keyword
Subparameters or COMPOPT options.
|
|
Dynamic specification | yes | This parameter can only be specified dynamically. In the Natural parameter
module, the macro NTCMPO is used instead.
|
Specification within session | yes | Use system command COMPOPT .
|
The following topics are covered below:
The parameter syntax of CMPO
is as follows:
CMPO=(keyword-subparameter=value,keyword-subparameter=value,...) |
Notes:
COMPOPT
.
ON
or OFF
,
except for GFID
, which can also take the value VID
.
COMPOPT
in the System
Commands documentation or follow the links in the
section Keyword
Subparameters.
The syntax of the NTCMPO
macro in the Natural parameter module is
as follows:
NTCMPO CHKRULE=value, * CPAGE=value, * DB2ARRY=value, * DB2BIN=value, * DB2PKYU=value, * DB2TSTI=value, * DBSHORT=value, * ECHECK=value, * GDASC=value, * GFID=value, * KCHECK=value, * LOWSRCE=value, * MASKCME=value, * MAXPREC=value, * MEMOPT=value, * NMOVE22=value, * PCHECK=value, * PSIGNF=value, * THSEP=value, * TQMARK=value, * TSENABL=value
Notes:
DB2PKYU
option is only available if it is supported by the Natural
for DB version installed at your site.
COMPOPT
.
ON
or OFF
,
except for GFID
, which can also have the value VID
.
NTCMPO
macro, the keyword subparameters can be
specified in any sequence.
COMPOPT
in the System
Commands documentation or follow the link in the
syntax diagram.
CHKRULE
| CPAGE
| DB2ARRY
|
DB2BIN
| DB2PKYU
| DB2TSTI
|
DBSHORT
| ECHECK
| GDASC
|
GFID
|
KCHECK
| LOWSRCE
| MASKCME
|
MAXPREC
| MEMOPT
| NMOVE22
|
PCHECK
| PSIGNF
| THSEP
|
TQMARK
| TSENABL
For a complete description of the compiler options, refer to the system command COMPOPT
in the System Commands documentation. The default values indicated
there also apply to the corresponding keyword subparameters of CMPO
and NTCMPO
.
CMPO=(KCHECK=ON,PCHECK=ON)
NTCMPO KCHECK=ON, * PCHECK=ON