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

Post new topic  Reply to topic
 spaces in the message « View previous topic :: View next topic » 
Author Message
sudheeratwork
PostPosted: Thu Nov 10, 2005 8:11 am    Post subject: spaces in the message Reply with quote

Novice

Joined: 26 May 2005
Posts: 13

Hi

I have a tricky situation here and wud like some help.

A queue (websphere 5.3) on my machine gets messages sent by a queue on another machine. I recently upgraded from 5.1 mq series. Both the sender and the receiver machines (windows 2000) have 5.3 installed on them.

I was able to read the messages using a C++ application. Now When I try to do the same I see that there is a space in between every character in the message. Am I supposed to supply some format options so as to not insert an extra space after every character..

Example.
Input: TEST MESSAGE
Output from my C++ Application: T E S T M E S S A G E

I will appreciate your help.

Thanks
Sudheer.
Back to top
View user's profile Send private message
sudheeratwork
PostPosted: Thu Nov 10, 2005 8:37 am    Post subject: how do i make it to assume 1 byte instead of 2 Reply with quote

Novice

Joined: 26 May 2005
Posts: 13

When I browse the message I do see two bytes being taken per character. so how do i make it to assume 1 byte instead of 2. Do I have to set the CCSID to something at the time of putting the message, or covert it when I get the message. Also please let me know how i do the conversion.

Thanks,
Back to top
View user's profile Send private message
sudheeratwork
PostPosted: Fri Nov 11, 2005 9:40 am    Post subject: Plz dont be a school kid Reply with quote

Novice

Joined: 26 May 2005
Posts: 13

IMHO

If u know it u share it... FREE WORLD RULES...

SEX , SOFTWARE AND KNOWLEDGE/INFORMATION IS BETTER WHEN IT IS FREE !!!
Back to top
View user's profile Send private message
Empeterson
PostPosted: Fri Nov 11, 2005 9:50 am    Post subject: Re: Plz dont be a school kid Reply with quote

Centurion

Joined: 14 Apr 2003
Posts: 125
Location: Foxboro, MA

sudheeratwork wrote:
IMHO

If u know it u share it... FREE WORLD RULES...

SEX , SOFTWARE AND KNOWLEDGE/INFORMATION IS BETTER WHEN IT IS FREE !!!



It is free to open a manual and read it.
_________________
IBM Certified Specialist: MQSeries
IBM Certified Specalist: Websphere MQ Integrator
Back to top
View user's profile Send private message Send e-mail AIM Address
sudheeratwork
PostPosted: Fri Nov 11, 2005 10:02 am    Post subject: OH NO !!! another school kid in the block Reply with quote

Novice

Joined: 26 May 2005
Posts: 13

thanks for being interactive... and all ur help

adios.
Back to top
View user's profile Send private message
urs
PostPosted: Fri Nov 11, 2005 10:28 am    Post subject: Re: Plz dont be a school kid Reply with quote

Acolyte

Joined: 27 Oct 2005
Posts: 56

<quote="Empeterson">
It is free to open a manual and read it
</quote>

Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » spaces 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.