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 » Parser Err: Not all the buffer was used when reading message

Post new topic  Reply to topic
 Parser Err: Not all the buffer was used when reading message « View previous topic :: View next topic » 
Author Message
tanishka
PostPosted: Sun Oct 24, 2010 4:51 am    Post subject: Reply with quote

Centurion

Joined: 24 Nov 2008
Posts: 144

Hi MQ mind/TDS_tds_tds,

I am getting same probem MTI. http://www.mqseries.net/phpBB2/viewtopic.php?t=11050
Not all the buffer was used when reading message.

My flow design like this.

MQ input --> compute node --> MQ output.

Mq input node receiving EDI message format. In compute node i am mapping to XML.
In unit test, when i putting message from rfhutil. it is working fine. But integration testing i am getting this problem. Please help here.
Back to top
View user's profile Send private message
WMBDEV1
PostPosted: Sun Oct 24, 2010 4:56 am    Post subject: Reply with quote

Sentinel

Joined: 05 Mar 2009
Posts: 888
Location: UK

The solution will be the same as it was all them years ago.

As you have a working message, have you compared it to the message sent from the other system and looked for differences?

What did you find how does this compare to your message set?
Back to top
View user's profile Send private message
tanishka
PostPosted: Sun Oct 24, 2010 7:42 am    Post subject: Reply with quote

Centurion

Joined: 24 Nov 2008
Posts: 144

Nothing i found the difference in input message.
Expect PC format and UNIX format.
Back to top
View user's profile Send private message
tanishka
PostPosted: Sun Oct 24, 2010 8:14 am    Post subject: Reply with quote

Centurion

Joined: 24 Nov 2008
Posts: 144

The example input message

|HDR|11111112222222222
|SHP|3333344445555
|ITM|117788888999999000008888


TDS Message set configuration

Data element seperation: TaggedDelimited

Group terminator: <CR><LF>
Delmiator: <CR><LF>

Length of Tag : 5

The above configuration working fine for PC message format. Not working for UNIX file format.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Oct 24, 2010 9:01 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

tanishka wrote:
The example input message

|HDR|11111112222222222
|SHP|3333344445555
|ITM|117788888999999000008888


TDS Message set configuration

Data element seperation: TaggedDelimited

Group terminator: <CR><LF>
Delmiator: <CR><LF>

Length of Tag : 5

The above configuration working fine for PC message format. Not working for UNIX file format.


Please do not reopen a 4 year old post but create your own and refer to it.
Split from old post.

As to your problem, it is quite easy. Typically Unix files have only a <LF> (hex 0a) where on a PC you will get <CR><LF> (hex 0d0a)

You might want to send the message with MQMD-FORMAT set to MQFMT-NONE to keep the <CR><LF> delimiter and CCSID.

Have fun.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
tanishka
PostPosted: Tue Oct 26, 2010 9:07 am    Post subject: Reply with quote

Centurion

Joined: 24 Nov 2008
Posts: 144

Thanks fjb_saper, That was resolved my issue.
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 » WebSphere Message Broker (ACE) Support » Parser Err: Not all the buffer was used when reading 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.