|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to make the first element repeating in taggd fixedlength |
« View previous topic :: View next topic » |
Author |
Message
|
yshakraj |
Posted: Sat Sep 17, 2011 12:40 am Post subject: How to make the first element repeating in taggd fixedlength |
|
|
 Voyager
Joined: 14 Sep 2011 Posts: 91
|
actually if i want to set the first element repeating ,like max occurence -1
then its showing error that ,it must be the last element .can any one help i am new to mb, pls...
thanks
yshak |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Sep 19, 2011 1:41 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You need to provide some means of indicating that the repeating element has stopped repeating.
This means that either the repeating element and the following elements must all have tags, or there must be a delimiter - and not just a repeating item delimiter, but a delimiter that separates the last instance of the repeating element from the rest of the structure.
Since you're using tagged/fixed-length, it would seem that your repeating element should be of a fixed length and have a tag that identifies each repeat and the elements after it should also be fixed length and have tags. |
|
Back to top |
|
 |
yshakraj |
Posted: Mon Sep 19, 2011 5:26 am Post subject: |
|
|
 Voyager
Joined: 14 Sep 2011 Posts: 91
|
actually i have a msg set lyk
AAA(tag)Data BBB data CCC data ..like dat.
In AAA inner tag is A and AA ...,so as BBB ,B and BB ,in CCC :C and CC
so my problem is lyk all the three are looking for tag AAA and depending upon the data i need to parse against the corresponding Tag
Suppose the data is lyk
AAA Data_a AAA Data_b AAA data_c
it should parse against corresponding tags and the first element is repeating,
Hope you understand.. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|