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 » TDS doubt

Post new topic  Reply to topic
 TDS doubt « View previous topic :: View next topic » 
Author Message
protocol
PostPosted: Sun Nov 06, 2005 5:24 pm    Post subject: TDS doubt Reply with quote

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
View user's profile Send private message
kimbert
PostPosted: Mon Nov 07, 2005 1:30 am    Post subject: Reply with quote

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
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 » TDS doubt
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.