|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
BLOB to XML query |
« View previous topic :: View next topic » |
Author |
Message
|
kimbert |
Posted: Wed Dec 15, 2004 2:21 pm Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Wed Dec 15, 2004 3:42 pm Post subject: |
|
|
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 |
|
 |
kimbert |
Posted: Thu Dec 16, 2004 2:13 am Post subject: |
|
|
 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 |
|
 |
|
|
|
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
|
|
|
|