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 » Binary data conversin in Broker

Post new topic  Reply to topic
 Binary data conversin in Broker « View previous topic :: View next topic » 
Author Message
petervh
PostPosted: Wed Sep 06, 2006 12:52 am    Post subject: Binary data conversin in Broker Reply with quote

Apprentice

Joined: 15 Jun 2006
Posts: 31

Can someone provide some assistance? I am receiving fixed-length, 64-byte, binary Point of Sale messages from a store and need to map this data into an XML structure so that I can write records to a database as part of a message flow. I have defined a msgset with a CWF format so that I can parse the incoming msg into its individual fields. The problem is that the binary data is apparently in BCD format - when I try to read the message in an MQInput node I get a parsing error. When I use another binary file that represents EBCDIC data it parses successfully. Can I assume from this that the data is not correct (maybe a bit combination is "irritating" the MRM parser?).
Back to top
View user's profile Send private message
ak
PostPosted: Wed Sep 06, 2006 2:46 am    Post subject: Reply with quote

Apprentice

Joined: 07 Aug 2006
Posts: 48
Location: England

Not sure if the broker can handle BCD data! You might need to convert it to EBCDIC first. Read it off the queue as a BLOB -i.e. no message set/type defined on the MQInput node. Pass this a java compute node or java routine to convert it and then use an RCD node with your message set /type set .
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Sep 06, 2006 3:22 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Would this data be in the TLOG format, by any chance?
Back to top
View user's profile Send private message
petervh
PostPosted: Wed Sep 06, 2006 3:28 am    Post subject: Reply with quote

Apprentice

Joined: 15 Jun 2006
Posts: 31

Yes it is TLOG data.
Back to top
View user's profile Send private message
kimbert
PostPosted: Wed Sep 06, 2006 3:56 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Contact IBM Dublin - they have a pre-built solution for parsing TLOG data.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Binary data conversin in Broker
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.