Does IBMi Adapter handle the case when a pair of SHIFT-OUT and SHIFT-IN characters are present in different elements of Adapter Program Schema array?
Issue/Introduction
SHIFT-OUT and SHIFT-IN characters should be present in same array element.
Environment
All supported platforms
Resolution
When the IBM-host code scheme is used, the system uses shift-control characters to identify the beginning and end of a string of double-byte characters. The shift-out (SO) character, hex 0E, indicates the beginning of a double-byte character string. The shift-in (SI) character, hex 0F, indicates the end of a double-byte character string. Each shift-control character occupies the same amount of space as one alphanumeric character. By contrast, double-byte characters occupy the same amount of space as two alphanumeric characters.
If SHIFT-IN and SHIFT-OUT characters are present in different elements of adapter program schema array while receiving the data from IBMi server to IBMi adapter side then JTOpen library would not handle this situation. It is recommended that it should be present in same array element to make it works properly.