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 » Repeat value of with TDS? WMQI 2.1 CSD 4

Post new topic  Reply to topic
 Repeat value of with TDS? WMQI 2.1 CSD 4 « View previous topic :: View next topic » 
Author Message
Nyusser
PostPosted: Tue Feb 04, 2003 3:57 am    Post subject: Repeat value of with TDS? WMQI 2.1 CSD 4 Reply with quote

Apprentice

Joined: 02 Jul 2002
Posts: 48

Hi,

Is it possible to implement the "Repeat value of" for TDS message elements or compound types in MRM somehow? It seems to be a major defect in WMQI.

- Nyusser


Last edited by Nyusser on Wed Mar 26, 2003 11:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
kirani
PostPosted: Tue Feb 04, 2003 9:13 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Yes, it is similar to defining ValueOf repeating element in MRM-CWF.
But I think this value is not validated while writing the message out. Even without having a counter you can just populate Compound Type in your TDS message, for doing this just set the repeating to yes in Connection tab for this compound element.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Nyusser
PostPosted: Wed Feb 05, 2003 2:13 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2002
Posts: 48

I probably didn't explain my problem accurately. I need the MRM parser to parse an incoming message with repeating fields. A simplified example message:

2,Item A,1,20030201,ItemB,2,20030201,20030202

With field explanations
2(number of items 0-99),Item A(item), 1(number of possible shipping dates 0-99 for the item), 20030201 (shipping date), ItemB(item), 2(number of possible shipping dates 0-99), 20030201(shipping date), 20030202(shipping date)

All elements are comma-separated. How can I define that shipping date field repeats an arbitrary amount of times depending on the number of possible shipping dates field. And how can I define that the item structure repeat an arbitrary amount of times depending on the number of items field.

One cannot define these in MRM and therefore MRM Parser is unable to parse the incoming message.

- Nyusser
Back to top
View user's profile Send private message
Lisa
PostPosted: Thu Mar 20, 2003 8:10 am    Post subject: Repeating Elements Reply with quote

Master

Joined: 07 Jun 2002
Posts: 287
Location: NJ

Hi,
Did you resolve this issue?
Back to top
View user's profile Send private message Send e-mail
Nyusser
PostPosted: Fri Mar 21, 2003 4:17 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2002
Posts: 48

I was unable to resolve the issue and handled the parsing with ESQL code.

- Nyusser
Back to top
View user's profile Send private message
kirani
PostPosted: Fri Mar 21, 2003 5:05 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

TDS allows you to specify repeat count depending on another element, which is similar to OCCURS DEPENDING ON in COBOL.
You could this use feature to model your message.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Nyusser
PostPosted: Mon Mar 24, 2003 12:46 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2002
Posts: 48

Are there some specific setting for the compound type / element created from the compound type to activate the REPEAT COUNT OF, because I am unable to find it anywhere within my TDS message types/elements. I am able to use it with CWF though.

Only settings for my TDS compound type element are:
Repeat - which is YES
Min Occurs - which is 1
Max Occurs - which is 10
Repeating Element Delimiter - which is comma (,)
Length Value Of - which seems to have no relation to anything...

I cannot find the Repeat Value of anywhere.

- Nyusser
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Mar 24, 2003 8:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Nyusser wrote:

Length Value Of - which seems to have no relation to anything...

I thought this property is Repeat Value of, but I guess I was wrong.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Nyusser
PostPosted: Wed Mar 26, 2003 11:24 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2002
Posts: 48

The issue about repeating elements is explained at IBM's support site. The amount of repeating elements in TDS messages has to be redefined in (Min and) Max Occurs fields and the Repeating Element Delimiter must be defined. There is no way to set the repetition count according to some preceding field.

This is a big defect in WMQI MRM architecture.

- Nyusser
Back to top
View user's profile Send private message
kirani
PostPosted: Thu Mar 27, 2003 10:07 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Have you tried contacting IBM Support center regarding this?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Repeat value of with TDS? WMQI 2.1 CSD 4
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.