|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
TDS doubt |
« View previous topic :: View next topic » |
Author |
Message
|
protocol |
Posted: Sun Nov 06, 2005 5:24 pm Post subject: TDS doubt |
|
|
 Apprentice
Joined: 25 Feb 2005 Posts: 41
|
Hi All,
I have a message in the following format.
H,a,b,c,d
B1,e,f,g,h,f
B2,i,j,k,l
T,1,2,3,4
H,B1,B2,T will occur at the start of the respective records.
B1 may or may not occur.Can occur multiple times
B2 can occur multiple times.
I have designed a TDS message set as all elements delimited and given the delimiter as ,
I have given the Group Terminator as <CR><LF>
I have given the min occurs of B1 as 0.
It is working fine as long as all of them occur, but if B1 does not occur, then it is trying to assign B2 to B1 and thus failing.
The problem I see is that the parser is not able to identify which type is not occuring. So I gave the Group Indicator as H,B1,B2,T for each of them.
But this is failing with:
"An element has been deemed complete occuring less than specified minOccurs, but minoccurs is 1 and it is occurring in the messsage."
Can someone please help? |
|
Back to top |
|
 |
kimbert |
Posted: Mon Nov 07, 2005 1:30 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
You need to use Tagged Delimited instead of All Elements Delimited. You will need to set the 'Tag' property for H, B1, B2 and T. |
|
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
|
|
|
|