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 » General Discussion » SOME UNPRINTABLE CHARACTERS IN MESSAGE IDENTIFIER.

Post new topic  Reply to topic
 SOME UNPRINTABLE CHARACTERS IN MESSAGE IDENTIFIER. « View previous topic :: View next topic » 
Author Message
kshipra.kalbandhe
PostPosted: Thu Aug 09, 2007 6:31 am    Post subject: SOME UNPRINTABLE CHARACTERS IN MESSAGE IDENTIFIER. Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Aug 09, 2007 6:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Aug 09, 2007 8:20 am    Post subject: Re: SOME UNPRINTABLE CHARACTERS IN MESSAGE IDENTIFIER. Reply with quote

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
View user's profile Send private message
tleichen
PostPosted: Fri Aug 10, 2007 6:51 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

(sigh)...
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
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 » General Discussion » SOME UNPRINTABLE CHARACTERS IN MESSAGE IDENTIFIER.
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.