ILE RPG Programmer's Guide
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.
NLSS applies only to non-numeric conditional breakpoint expressions
of type Char-8. See Table 41 for the possible combinations
of non-numeric conditional breakpoint expressions.
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.
Notes:
- 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.
Table 41. Non-numeric Conditional Breakpoint Expressions
| Type |
Possible |
| Char-8 |
- Character field compared to character field
- Character field compared to character literal 1
- Character field compared to hex literal 2
- Character literal 1 compared to character
field
- Character literal 1 compared to character
literal 1
- Character literal 1 compared to hex
literal 2
- Hex literal 2 compared to character
field 1
- Hex literal 2 compared to character
literal 1
- Hex literal 2 compared to hex literal 2
|
| Char-16 |
- Graphic field compared to graphic field
- Graphic field compared to graphic literal 3
- Graphic field compared to hex literal 2
- Graphic literal 3 compared to graphic
field
- Graphic literal 3 compared to graphic
literal 3
- Graphic literal 3 compared to hex
literal 2
- Hex literal 2 compared to graphic
field
- Hex literal 2 compared to graphic
literal 3
|
|
Notes:
- Character literal is of the form 'abc'.
- Hexadecimal literal is of the form X'hex digits'.
- Graphic literal is of the form G'oK1K2i'. Shift-out is
represented as o and shift-in is represented as i.
|
[ Top of Page | Previous Page | Next Page | Contents |
Index ]