| # Locale Data (tttss0104s000) Use this session to specify the parameters for a locale. Enter the locale used by the bshell in the TSS Locale field. Enter the locale used by the operating system in the NLS Locale field. You can change the locale used in Tools by yourself, on the NLS tab of the BW Configuration program. The values in the Single Byte and Multibyte boxes indicate the NLS character set values that Tools uses for sorting records and default values in From To selection fields. In single byte environments, do not use character values greater than In multibyte environments, do not use character values greater than 127. You can link a locale to a printer and to the User data template in the Device Data (ttaad3500m000) session. Name The name of the character set locale. The name usually consists of a combination of the character set and the operating system, for example, KANJIEUC_HPUX. Most NLS environments require a different locale. Description The description of the character set locale. The description should clarify the meaning of the name. TSS Locale The TSS locale. NLS Locale NLS locale Internal MB Factor The memory that the bshell requires for each character. Internal MB Factor = bytes per TSS character / average display space For a Latin character (for example, ASCII, ISO 8859), the average display space is 1.0, but Chinese characters (for example) can require more than one space. Example Japanese: 4/2 = 2 Hebrew: 4/1 = 4 Therefore, although Japanese and Hebrew both are 4 byte character sets, Japanese only requires half the Internal MB Factor because each character occupies two character spaces. External MB Factor The memory that the operating system (for example, Windows NT, Unix) requires for each character. External MB factor = bytes per native NLS character / average display space For a Latin character (for example, ASCII, ISO 8859), the average display space is 1.0, but Chinese characters (for example) can require more than one space. You must round the value up, to prevent data loss. Example Japanese = 2/1.99 = 1.005 -> 2 (rounded up). Note In the KANJI-EUC Japanese characters set, JISX0208 have a 2:2 External MB factor, but JISX0201 have a 1:2 External MB factor. Bidi If this check box is selected, bidirectional functionality is enabled. SINGLE BYTE Minimum Sort Value The minimum character value that Tools uses to sort records. This value is normally 1. You must enter the TSS value of the character. Maximum Sort Value The maximum character value that Tools uses to sort records. This value is normally 126 (~). You must enter the TSS value of the character. In multibyte environments, do not use character values greater than 127 for single byte characters. Minimum Form Value The default value in From selection fields in Tools. This is normally 32 (the space character). You must enter the TSS value of the character. Maximum Form Value The default value in To selection fields in Tools. This is normally 122 (z). You must enter the TSS value of the character. Do not use values greater than 255 in single byte environments. MULTI BYTE Minimum Sort Value The minimum character value used for sorting records. This value is normally 1.0. You must enter the TSS value of the character. Maximum Sort Value The maximum character value used by Tools for sorting records. You must enter the TSS value of the character. In single byte environments, do not use character values greater than 255 for multibyte characters. Minimum Form Value The default value in From selection fields in Tools. This is normally 32 (the space character). You must enter the TSS value of the character. Maximum Form Value The default value in To selection fields in Tools. This is normally 122 (z). You must enter the TSS value of the character. Do not use values greater than 255 in multibyte environments. |