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 » URGENT !!! TDS Parsing Error!!

Post new topic  Reply to topic
 URGENT !!! TDS Parsing Error!! « View previous topic :: View next topic » 
Author Message
sree4vit
PostPosted: Fri Sep 03, 2010 4:12 am    Post subject: URGENT !!! TDS Parsing Error!! Reply with quote

Novice

Joined: 05 Aug 2010
Posts: 21

I'm trying to parse a tds message

input:- ABC#123#234#000

Message set elements are : A,B,C

After parsing :

A = ABC
B = 123
C = 234#000 ---> This should jus be 234 cos i have defined # as delimiter in message set.

Any suggestions to fix this??

Thanks in advance.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Sep 03, 2010 4:29 am    Post subject: Re: URGENT !!! TDS Parsing Error!! Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sree4vit wrote:
This should jus be 234 cos i have defined # as delimiter in message set.


No it shouldn't.

sree4vit wrote:
Any suggestions to fix this??


Edit the message set so it correctly maps the 4 elements of the input rather than pretending there are only 3.

This is presumably your attempt at implementing the advice given here?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Sep 03, 2010 1:43 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Just to confirm that Vitor is 100% correct. TDS delimiters are 'infix' which means that the final element does not have a delimiter.
If you want element 'C' to have the value '234' then define another element 'D'.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sat Sep 04, 2010 6:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Also, you can not make a model that only describes a portion of the bitstream.

The model must match the full bitstream.
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 » URGENT !!! TDS Parsing Error!!
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.