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 » Problem with tagged message

Post new topic  Reply to topic
 Problem with tagged message « View previous topic :: View next topic » 
Author Message
artykito
PostPosted: Tue Jul 20, 2010 5:03 am    Post subject: Reply with quote

Apprentice

Joined: 24 Jun 2010
Posts: 33

Hi all,

I'm checking the Tagged fixed length sample. It's excellent, but I have a doubt, because I have a similar requirement.

For example, imagine the Optional record can be from 1 to unbounded. And our input is something like:

Quote:
10AABB\r\n
10CCDD\r\n
11EEFF\r\n
11VVRR\r\n
10GGHH\r\n
11XXYY\r\n
11ZZWW\r\n
10KKLL\r\n


So, the output mus be something like:

Quote:
10AABB\r\n
10CCDD\r\n11EEFF\r\n11VVRR\r\n
10GGHH\r\n11XXYY\r\n11ZZWW\r\n
10KKLL\r\n


Is this possible? because I'm trying to do that and always have a bad parsed message... because as Optional has multiple occurs, is like the parser don't know when must stop.

The result I'm getting is something like:

Quote:
10AABB\r\n
10CCDD\r\n11EEFF\r\n11VVRR\r\n10GGHH\r\n11XXYY\r\n11ZZWW\r\n10KKLL\r\n


or:

Quote:
10AABB\r\n10CCDD\r\n11EEFF\r\n11VVRR\r\n10GGHH\r\n11XXYY\r\n11ZZWW\r\n10KKLL\r\n


I think is because the parser can't identify the tags, and my doubt is if this is because of the multiple occurs for that Optional record, or if the mistake is that I don't really know how to do that...
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Jul 20, 2010 12:16 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Are you trying to model the same message as satya2481?

Quote:
For example, imagine the Optional record can be from 1 to unbounded.
What 'Optional record'? You must not assume that we are familiar with the sample that you are working with - we're doing this for free, so you need to supply all the details for us.
Back to top
View user's profile Send private message
artykito
PostPosted: Tue Jul 20, 2010 10:53 pm    Post subject: Reply with quote

Apprentice

Joined: 24 Jun 2010
Posts: 33

oops...I didn't want to create a new thread, I was speaking about this thread and sample.

That's because I didn't give you more details...I accidentally create a thead instead of a post :/
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 » Problem with tagged 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.