|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Hexadecimal fields in the message |
« View previous topic :: View next topic » |
Author |
Message
|
r1divya |
Posted: Fri Jun 21, 2002 5:25 am Post subject: Hexadecimal fields in the message |
|
|
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 |
|
 |
CodeCraft |
Posted: Fri Jun 21, 2002 11:12 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|