Posted: Wed Apr 13, 2005 4:40 am Post subject: Encoding Problem
Apprentice
Joined: 16 Feb 2004 Posts: 46
Hi,
We've got a broker on Windows recieving a message from z/os :
In the MQInput node we have checked the option "convert", thus the message
data is converted into CCSID 850 and Encoding 546.
The message contains an MQIIH header with an LLZZ number that we want to change.
For this we perform a convertion from INT --> BLOB with the function
"CAST(myINT AS BLOB ENCODING 546)"
This fails as the resulting BLOB is in a BigEndian representation
We tried both :
CAST(myINT AS BLOB ENCODING 546) --> littleEndian
CAST(myINT AS BLOB ENCODING 785) --> BigEndian
Joined: 24 Feb 2002 Posts: 160 Location: The Netherlands
Tom,
The broker uses the ccsid and encoding of the message to interpret the character and binary fields, there is no need to do a convert in the MQInput node.
It should be possible to access the fields in the normal way such as:
Code:
SET OutputRoot.MQIIH.CommitMode = ...
_________________ Jan Fluitsma
IBM Certified Solution Designer WebSphere MQ V6
IBM Certified Solution Developer WebSphere Message Broker V6
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum