ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Encoding Problem

Post new topic  Reply to topic
 Encoding Problem « View previous topic :: View next topic » 
Author Message
marco
PostPosted: Wed Apr 13, 2005 4:40 am    Post subject: Encoding Problem Reply with quote

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

But both gave the SAME result !!!

Does anyone recognize this problem ?

Tx
Tom
Back to top
View user's profile Send private message
jfluitsm
PostPosted: Wed Apr 13, 2005 11:22 pm    Post subject: Reply with quote

Disciple

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Encoding Problem
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.