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 » Hexadecimal fields in the message

Post new topic  Reply to topic
 Hexadecimal fields in the message « View previous topic :: View next topic » 
Author Message
r1divya
PostPosted: Fri Jun 21, 2002 5:25 am    Post subject: Hexadecimal fields in the message Reply with quote

Newbie

Joined: 19 Jun 2002
Posts: 4

I need to define some hexadecimal fields in a message. How I can I accomplish that?
Back to top
View user's profile Send private message
CodeCraft
PostPosted: Fri Jun 21, 2002 11:12 pm    Post subject: Reply with quote

Disciple

Joined: 05 Sep 2001
Posts: 195

What do you mean by hexidecimal, and, what do you mean by message? (No, I don't want a lesson in CS and MQ).

If you want to store binary data in an MRM defined message, use the binary type.

If you want to send fields in a message that look like hexidecimal, how you define and populate them depends on what exactly you want to put into them and how. What is the final target, CWF, TDS, MRM-XML or generic XML, and what exactly are you trying to do?

You can create fields as binary internally, and then cast them to character if you want the hex. representation.

Note well:

If you case binary field b who's hex content is: "FF"
The resulting character string will be literal "X'FF'"

That is, what I have inside double quotes becomes part of the string, so, if you want just the hex. stream, you need to remove "X'" and "'".
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 » Hexadecimal fields in the message
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.