SORT-MERGE/XL General User's Guide (32650-90883)

123
C Native Language Collating
Native Language Support (NLS) for the 900 Series HP 3000 provides collating for a variety
of native languages. A number of collating algorithms, from simple to very complex, have
been employed in defining the collating sequences for these languages, depending on the
requirements of the native users of the languages.
Native language collating sequences are accessed in SORT-MERGE/XL by using the key
type CHARACTER and the >LANGUAGE command to define which native language collating
sequence is to be used. In addition to actual native languages, an artificial language,
NATIVE-3000, has been defined to handle all language aspects in a traditional computer
manner. Thus, for example, one collating sequence for NATIVE-3000 treats keys of
type
CHARACTER the same as keys of
type
BYTE and collates them according to the value of the
ASCII code for each character.
For a list of languages supported on your 900 Series HP 3000 run NLUTIL.PUB.SYS. A list
of language names and language IDs is displayed. The exact list depends on the
configuration chosen by your System Manager. Configured languages may include, but are
not limited to, those shown below. The program NLUTIL.PUB.SYS also offers to print the
definition, including the collating sequence, of each language supported. Refer to the
Native Language Programmer's Guide for additional information.
Figure C-1. MPE XL - Supported Native Languages
Lang Lang Char Set Char Set
ID Name ID Name
0 NATIVE-3000 0 USASCII
1 American 1 ROMAN8
2 Canadian-French 1 ROMAN8
3 Danish 1 ROMAN8
4 Dutch 1 ROMAN8
5 English 1 ROMAN8
6 Finnish 1 ROMAN8
7 French 1 ROMAN8
8 German 1 ROMAN8
9 Italian 1 ROMAN8
10 Norwegian 1 ROMAN8
11 Portuguese 1 ROMAN8
12 Spanish 1 ROMAN8
13 Swedish l ROMAN8
41 Katakana 2 KANA8