Natural for Mainframes Version 8.2.5 for Mainframes
 —  Parameter Reference  —

CMPO - Compilation Options

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:


CMPO Parameter Syntax

The parameter syntax of CMPO is as follows:

CMPO=(keyword-subparameter=value,keyword-subparameter=value,...)

Notes:

  1. The keyword subparameters are functionally identical to the compiler options that can be specified within the session, using the system command COMPOPT.
  2. Each keyword subparameter can take the value ON or OFF, except for GFID, which can also take the value VID.
  3. For further information such as default values and functional descriptions, refer to system command COMPOPT in the System Commands documentation or follow the links in the section Keyword Subparameters.

Top of page

NTCMPO Macro Syntax

The syntax of the NTCMPO macro in the Natural parameter module is as follows:

NTCMPO CHKRULE=value,                                     *
       CPAGE=value,                                       *
       DB2ARRY=value,                                     *
       DB2BIN=value,                                      *
       DB2TSTI=value,                                     *
       DBSHORT=value,                                     *
       ECHECK=value,                                      *
       GDASC=value,                                       *
       GFID=value,                                        *
       KCHECK=value,                                      *
       LOWSRCE=value,                                     *
       LUWCOMP=value,                                     *
       MASKCME=value,                                     *
       MAXPREC=value,                                     *
       MEMOPT=value,                                      *
       PCHECK=value,                                      *
       PSIGNF=value,                                      *
       THSEP=value,                                       *
       TQMARK=value,                                      *
       TSENABL=value

Notes:

  1. The keyword subparameters are functionally identical to the compiler options that can be specified within the session, using the system command COMPOPT.
  2. Each keyword subparameter can take the value ON or OFF, except for GFID, which can also have the value VID.
  3. In the NTCMPO macro, the keyword subparameters can be specified in any sequence.
  4. For further information such as default values and functional descriptions, refer to system command COMPOPT in the System Commands documentation or follow the link in the syntax diagram.

Top of page

Keyword Subparameters

CHKRULE | CPAGE | DB2ARRY | DB2BIN | DB2TSTI | DBSHORT | ECHECK | GDASC | GFID | KCHECK | LOWSRCE | LUWCOMP | MASKCME | MAXPREC | MEMOPT | 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.

Top of page

Example of CMPO Parameter

CMPO=(KCHECK=ON,PCHECK=ON)

Top of page

Example of NTCMPO Macro

         NTCMPO KCHECK=ON,                                             *
               PCHECK=ON

Top of page