This Natural profile and session parameter specifies whether a conversion error that occurs when converting
from Unicode to code page or
from code page to Unicode or
from one code page to another code page
results in a Natural error or not. Anyway, after the conversion, the target operand will contain the conversion result where all characters which cannot be converted will be replaced by a substitution character which is defined by ICU for the affected code page.
Notes:
NATCONFG.
CPCVERR is ON,
the Natural output window will not accept characters which are not contained in
the current code page for A format fields. If CPCVERR is
OFF, all characters will be accepted for A format fields. The
runtime will then replace the characters which are not contained in the current
code page with the substitution character of this code page (or parameter
SUBCHAR, if
defined).
| Possible settings | ON |
A Natural error NAT3413 is issued, if at least one code point could not be translated correctly during ICU conversion. | |
|---|---|---|---|
OFF |
No error is generated if one or more code points could not be translated correctly during ICU conversion. | ||
| Default setting | ON |
||
| Dynamic specification | yes | ||
| Specification within session | yes | ||
| Applicable statements | SET GLOBALS |
||
| Applicable command | GLOBALS |
||
See also:
Profile Parameters in the Unicode and Code Page Support documentation.
Using an Error Transaction Program in the Programming Guide