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 » [solved][urgent] CWF Repeat Count Type unavailable

Post new topic  Reply to topic
 [solved][urgent] CWF Repeat Count Type unavailable « View previous topic :: View next topic » 
Author Message
jefflowrey
PostPosted: Thu Jul 31, 2003 12:24 pm    Post subject: [solved][urgent] CWF Repeat Count Type unavailable Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I am unable to get the Control Center to let me specify the Repeat Count Type for a CWF element. It will not enable the control.

I need to specify the Repeat Count type as Value Of, not Count, and I can't.

The element I'm trying to specify the Repeat Count Type for is nested like this:
  • Message
    • FileTypeElement
      • Header
      • Detail
      • Trailer
It's the Detail record that I want to repeat, and will repeat based on a value in the Header.


Last edited by jefflowrey on Fri Aug 01, 2003 12:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Jul 31, 2003 12:55 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

You might have to create a single Type that consists of all the fields in the Header followed by the Type of the Detail.

That's how I've got one defined.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
Craig B
PostPosted: Fri Aug 01, 2003 3:19 am    Post subject: Reply with quote

Partisan

Joined: 18 Jun 2003
Posts: 316
Location: UK

The Repeat Count Type of 'Value Of' allows you to select a previous field on which you can base your number of repetitions. However, this has a limitation that this Numeric field has to appear before the field that is repeating, and has to be at the same Level in the definition as the repeating field. So in your example. you want 'Detail' to repeat, but there is no numeric field that appears before the 'Detail' compound element and so this is why it would not let you select it.

As the previous update suggests you need to change your header definition such that the field that controls the repeats is at the same level as Details.

Also in this description I have used the term numeric field, but it might actually have to be an INTEGER logical type, but Im not 100% certain of this.
_________________
Regards
Craig
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 01, 2003 7:45 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Okay. That makes some sense, and is relatively useful.

Wouldn't it be nice if the manual were more explicit about this? Maybe I'll file a PMR.

I'll give it a try and if it works, I'll be back to mark this solved.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 01, 2003 12:38 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

JeffLowrey wrote:
I'll give it a try and if it works, I'll be back to mark this solved.


Just a closing comment that this did resolve my problem.
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 » [solved][urgent] CWF Repeat Count Type unavailable
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.