This Natural profile parameter defines the default code page for Natural data and Natural sources.
Possible settings | 1 - 64 characters |
The name of the desired code page. Notes:
|
|
---|---|---|---|
ON |
Set the default code page for the mainframe
depending 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.
Notes: |
|||
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.
Notes:
|
||
Default setting | OFF |
Disable code page support. | |
Dynamic specification | yes | ||
Specification within session | no |
Notes:
ENCODED
option or by another profile parameter), the default code page
applies.
CP
profile parameter is set to a value other than
OFF
, the value of the CFICU
profile parameter will change to
ON
.
CP
profile parameter is set to a value other than
OFF
, values specified with the profile parameters TAB
, UTAB1
, UTAB2
and SCTAB
during the start of a Natural session are
ignored. See also Translation Tables in the
Unicode and Code Page Support documentation.
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.
You can find out the default code page that is the result of the evaluation of the
CP
parameter by viewing the content of the system variable
*CODEPAGE
(see system command CPINFO
) or by using the Unicode
Properties function of the SYSCP utility.
You can use the LIST DIRECTORY
system command or the SYSCP
utility to find out the default code page used for encoding a Natural source object.
The SYSCP utility can also be used to change the code page for a source object.