This Natural profile parameter is used to control Natural's compiler.
Possible settings | ON |
The compiler checks the number, format, length,
and array index bounds of the parameters that are specified in an object calling
statement, such as CALLNAT , PERFORM , INPUT USING MAP , PROCESS PAGE USING , helproutine calls. Also, the OPTIONAL feature of
the DEFINE DATA
PARAMETER statement is considered in the parameter check.
The
parameter check is based on a comparison of the parameters of the calling
statement with the It requires that
Otherwise, Error
Control for PCHECK=ON
The parameter check is executed only when the object does not contain any syntax errors. The parameter check is executed for every object calling statement. The parameter check is controlled by the
Problems in Using the CATALL Command with
PCHECK=ON
When a If a As mentioned above, the parameters of the object calling statement are checked
against the compiled form of the called object. If the calling object (the one
which is being compiled and includes the object calling statement) is cataloged
before the invoked object, the This causes the new parameter layout in the object calling statement
to be compared with the old parameter layout of the Solution:
|
|
---|---|---|---|
OFF |
No parameter check is performed. | ||
Default setting | OFF |
||
Dynamic specification | yes | ||
Specification within session | yes | ||
Applicable statements | OPTIONS |
||
Applicable command | PCHECK |
Option
of system command COMPOPT |