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 » padding character NUL or SPACE

Post new topic  Reply to topic
 padding character NUL or SPACE « View previous topic :: View next topic » 
Author Message
ramki
PostPosted: Tue Mar 12, 2002 8:17 am    Post subject: Reply with quote

Apprentice

Joined: 25 Sep 2001
Posts: 28

Hi ,
We are currently testing one interface going throught MQSI and the receiving system is getting different characters(eg |||) for data which are supposed to be spaces.
The input data is having spaces for some feilds.

We tried and tried and found out that it made a difference when we had NUL or SPACE as padding character for the field. Reading blank fields as NUL would output data correctly on the queue -- or as X20 (' ' in Text, ' ' in Hexadecimal). However, if fields were read or padded as SPACE, or as X00 (' ' in Text, '.' in Hexadecimal), it gets to the receiving side as a weird character.
And for some feilds we need to apply the vice-versa.

How to predict this SPACE or NUL. All the elements are defined as string.
In both the cases I am sending the inputdata which has spaces, Whenever I get weird character I am chaning the padding character to SPacE if it is already NUL and viceversa.

Please help me with this problem

Regards,
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » padding character NUL or SPACE
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.