FIX: “HISMAGB0041” error when Transaction Integrator application uses double-byte character set

Applies To
Host Integration Server 2013 Host Integration Server 2016

Symptoms

You run a Transaction Integrator (TI) application that uses a double-byte character set, such as katakana. Randomly, you receive the following error message in Transaction Integrator:

Note

HISMAGB0041 An error has occurred for conversion to host data for primitive data element name in method method_name.
Error description is: HISMPCB0036 In BasePrimitiveConverter a Double Byte character set conversion produced an incorrect length. e.g. 19 characters produced 34 bytes.

Cause

Host Integration Server includes additional checks for double-byte character sets. However, these checks don't allow for untranslatable characters, such as carriage return/line feed characters. When an untranslatable character is a part of the data, the error occurs.

Resolution

The fix that resolves this problem is included in the following cumulative updates for Host Integration Server:

Cumulative Update 2 for Host Integration Server 2016

Cumulative Update 4 for Host Integration Server 2013

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology Microsoft uses to describe software updates.