CODEPAGE
- Default
- CODEPAGE(1148|X'47C')
- Abbreviation
- CP
- 1148|X'47C'
- Specifies that characters contained in the Unicode character (CU-type) data constants (DCs) are to be converted by using the ECECP: International 1 Unicode-3 mappings contained in module ASMA047C.
- nnnnn|X'xxxx'
- Specifies that characters contained in the Unicode character (CU-type) data constants (DCs) are to be converted by using the Unicode mapping table module ASMAxxxx where xxxx is the hexadecimal value of the number nnnnn, which is the number of the code page that is contained in the module. The number must be in the range 1 through 64k-1.
- LOCAL
- LOCAL specifies that no external table is used, and that Unicode conversion will use a standard internal table to convert character data from the specified EBCDIC option.
The following Unicode-3 code pages are supported by the assembler:
Code Page | Module Name | Description |
---|---|---|
1140 | ASMA0474 | ECECP: US, Canada, Netherlands, Portugal, Brazil, Australia, New Zealand |
1141 | ASMA0475 | ECECP: Austria, Germany |
1142 | ASMA0476 | ECECP: Denmark, Norway |
1143 | ASMA0477 | ECECP: Finland, Sweden |
1144 | ASMA0478 | ECECP: Italy |
1145 | ASMA0479 | ECECP: Spain, Latin America (Spanish) |
1146 | ASMA047A | ECECP: United Kingdom |
1147 | ASMA047B | ECECP: France |
1148 | ASMA047C | ECECP: International 1 |
Note:
- This option is supported primarily for compatibility, and the recommended value is LOCAL.
- If CODEPAGE(LOCAL) is not used and the CODEPAGE number does not match the EBCDIC code page number nor the Euro (ECECP) equivalent code page, the conversion is applied after first translating the data from the EBCDIC code page to the initial CE code page at the start of the assembly (as shown in the options listing), if different from the EBCDIC code page. This means that an existing program can be converted and saved using a different EBCDIC code page then assembled using the original CODEPAGE table with the CE option specifying the original source code page.
- Warning message ASMA230W is issued if CODEPAGE(LOCAL) is not in effect and a CU constant or self-defining term is converted using a CODEPAGE number which matches neither the initial CE option nor the EBCDIC option (or equivalent Euro code page). This is done only for the first occurrence within an assembly. Note that this will occur for the first CU-type constant in any existing program if the standard default installation options are used, as the existing default options are inconsistent in this respect but have not been changed for compatibility reasons.