Version 4.2.6 for Mainframes
 —  Parameter Reference  —

CP - Default Code Page Name

This Natural profile parameter defines the default code page for Natural data and Natural sources.

If no code page is specified for a code page sensitive operation such as data conversions to and from Unicode (for example, by means of a statement specific ENCODED option or by another profile parameter), the default code page applies.

For the current Natural session, it is assumed that all code page data, for example, Natural sources, contents of A-format fields, etc., are stored in this code page format.

See also Profile Parameters in the Unicode and Code Page Support documentation.

Possible settings code-page

The name of the desired code page. Length: 1 - 64 characters.

Any character string is possible, but must be predefined by one of the code page parameters CCSID, CCSN, IANA or ALIAS of the macro NTCPAGE in the source module NATCONFG. UTF-32 is not allowed.

For information on multi-byte code page support, see Multi-Byte Code Pages in the Unicode and Code Page Support documentation.

ON Set the default code page for IBM and Siemens mainframes as follows:

In case of Siemens mainframes, the code page is EDF03IRV.

In case of IBM mainframes, it depends on the setting of Natural profile parameter ULANG:

ULANG Setting: Code Page Used:
ULANG=1 (English) IBM01140
ULANG=2 (German) IBM01141
ULANG=3 (French) IBM01147
ULANG=4 (Spanish) IBM01145
For other languages, IBM01140 is used as default code page.

Note:
The language code related adaptation of the profile parameter CP applies only to the ULANG profile parameter active at session time. Any subsequent language code modification(s) in Natural Security or by terminal command %L= do not influence the initial definition of the default code page.

OFF Disable code page support.
' '
(blank)
Same as ON.
AUTO

The code page name from the user terminal is taken, if available. This applies to the following online environments only: TSO, CICS, Com-plete and VM/CMS.

For information on multi-byte code page support, see Multi-Byte Code Pages in the Unicode and Code Page Support documentation.

Note:
CP=AUTO is not supported in a Natural Single Point of Development environment.

Default setting OFF Disable code page support.
Dynamic specification yes  
Specification within session no  

If the CP profile parameter is set to a value other than OFF, the value of the CFICU profile parameter will change to ON.

If the profile parameter CP is set to a multi-byte code page (MBCS), the logical shift-in and shift-out characters will be supplied with the code page and therefore SOSI will be ignored.

Tips:

Top of page