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 » BLOB to XML query

Post new topic  Reply to topic Goto page Previous  1, 2
 BLOB to XML query « View previous topic :: View next topic » 
Author Message
kimbert
PostPosted: Wed Dec 15, 2004 2:21 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5543
Location: Southampton

OK, here's where we stand:
    Segments have a length and and identifier, in that order.

    The segment identifier is not the first field in the segment, so it cannot be used as a tag. It looks as if a data pattern is the right approach here.

    The fields within each segment have a defined length, so I still do not understand why a segment length is required. It should be possible to parse a segment by parsing each of its fields in turn, without needing to know the total length in advance. (or are some fields of unknown length?)
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Dec 15, 2004 3:42 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

kimbert wrote:
The segment identifier is not the first field in the segment, so it cannot be used as a tag


Sure it can.

You just have to have extra fields defined, one at the start of the message group, and one at the end of each segement except the last, that will be the segment length for the PREVIOUS segment.

Off By One can help you sometimes...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Thu Dec 16, 2004 2:13 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5543
Location: Southampton

Jeff, that's a good idea. Hopefully kjell can use this to solve his problem. However, it only works if the segment length is redundant, and I'm not sure about that yet.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » BLOB to XML query
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.