National Language Sort Sequence (NLSS)
Non-numeric conditional breakpoint expressions are divided into the following
two types:
- Char- 8: each character contains 8 bits
This corresponds to the RPG data types of character, date, time, and timestamp.
- Char-16: each character contains 16 bits (DBCS)
This corresponds to the RPG graphic data type.
The sort sequence table used by the source for expressions of type Char-8 is the sort sequence table specified on the SRTSEQ parameter for the CRTRPGMOD or CRTBNDRPG commands.
If the resolved sort sequence table is *HEX, no sort sequence table is
used. Therefore, the source uses the hexadecimal values of the characters
to determine the sort sequence. Otherwise, the specified sort sequence table
is used to assign weights to each byte before the comparison is made. Bytes
between, and including, shift-out/shift-in characters are not assigned weights. This differs from the way ILE RPG handles comparisons;
all characters, including the shift-out/shift-in characters, are assigned
weights.
Note:
- The alternate sequence specified by ALTSEQ (*SRC) on the Control specification is not available to the ILE source . Instead the source uses the *HEX sort sequence table.
- The name of the sort sequence table is saved during compilation. At debug time, the source uses the name saved from the compilation to access the sort sequence table. If the sort sequence table specified at compilation time resolves to something other than *HEX or *JOBRUN, it is important the sort sequence table does not get altered before debugging is started. If the table cannot be accessed because it is damaged or deleted, the source uses the *HEX sort sequence table.
| Type | Possible |
|---|---|
| Char-8 |
|
| Char-16 |
|
Note:
|
|