In using the IBM Unicode conversion environment and services, the SYGWMCXL macro is used to create definition entries for all the character sets that will be used at a particular site and that are not already defined as system character sets. Table A-3 describes the parameters used in the SYGWMCXL macro to create a definition entry:
Parameter |
Value |
---|---|
CHARSET |
The name of the SBCS or DBCS character set. |
CHARSET BYTES |
An S to denote SBCS, or a D to denote DBCS. |
CCSID |
The CCSID for the character set. |
CHARSETYPE |
The type of character set. A denotes ASCII, and E denotes EBCDIC. |
CHARSIZE |
The maximum length of a character, from 1 to 4 bytes. |
PAD |
The padding character. The value of this parameter depends on the character set type. For ASCII, the padding character is 20. For EBCDIC, the padding character is 40. |
The following examples illustrate definitions for Russian and Japanese EBCDIC character sets, which are code pages 1025 and 939, respectively.
Copyright © 2005. Sybase Inc. All rights reserved. |