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 » Varying number of record in CWF

Post new topic  Reply to topic
 Varying number of record in CWF « View previous topic :: View next topic » 
Author Message
narki
PostPosted: Thu Jul 06, 2006 6:47 pm    Post subject: Varying number of record in CWF Reply with quote

Acolyte

Joined: 19 Dec 2005
Posts: 67

I need to transform XML message to Cobol Copybook. XML message which I am getting is of the form <X><Y>abc</Y></X>. Number of time Y element present in xml will be varying everytime. I need to convert this XML message to CWF i.e. cobol copy book. I have two diffrent message set for XML and CWF. So if Y is repeating twice in XML then I need to send Y...Y. For threetimes Y..Y..Y.. What property of message set or message needs to be modified so that I will be able to send varying number opf records for Y depending upon number of Y elemetn present in XML message.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jul 06, 2006 7:10 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Please delete your duplicate posts.

Please show us what you have tried.

Please understand that you have asked a question about basic use of the product. You have to build a CWF model that can handle your various forms of output data, including different numbers of repeats.

You then have to use Broker to copy field from the input message into the appropriate fields in the output message.

The only complicated part of your message is that you have to do repeating structures/elements in CWF. CWF has some specific limitations for repeating structures. These are relatively well documented. You may have to do some math in your transformation code to accomodate these limitations.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Jul 07, 2006 1:36 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Which version of the broker are you using?
What have you tried so far, and why did it not work?
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 » Varying number of record in CWF
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.