|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
SOME UNPRINTABLE CHARACTERS IN MESSAGE IDENTIFIER. |
« View previous topic :: View next topic » |
Author |
Message
|
kshipra.kalbandhe |
Posted: Thu Aug 09, 2007 6:31 am Post subject: SOME UNPRINTABLE CHARACTERS IN MESSAGE IDENTIFIER. |
|
|
Newbie
Joined: 07 Aug 2007 Posts: 4 Location: Nagpur
|
Hi,
I am a newbie in MQ Client Development.
I am facing the following problem.
I am geting some unprintable characters in the message identifier field.
I am unable to understand why is it so. Please help me out.
Thanks in advance.
regards,
kshipra |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Aug 09, 2007 6:40 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
MsdId is defined to be an MQBYTE24. That means that it is an array of bytes that is 24 positions long.
It is not a string array, so it does not hold any characters. It holds bytes. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Aug 09, 2007 8:20 am Post subject: Re: SOME UNPRINTABLE CHARACTERS IN MESSAGE IDENTIFIER. |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kshipra.kalbandhe wrote: |
I am geting some unprintable characters in the message identifier field.
|
Do not try to print out the message identifier. Do NOT try and treat it as a string (i.e. store it in a CHAR field in a database). It is not a string, attempts to treat it as such will cause pain, suffering, misery and application errors.
The search button will give you many threads which explain why this is a serious design issue. Like trying to set it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
tleichen |
Posted: Fri Aug 10, 2007 6:51 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
(sigh)...  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
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
|
|
|
|