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 » Which is best option?

Post new topic  Reply to topic
 Which is best option? « View previous topic :: View next topic » 
Author Message
bradhakrishna
PostPosted: Wed Oct 30, 2002 5:04 am    Post subject: Which is best option? Reply with quote

Novice

Joined: 27 Aug 2002
Posts: 10

XML to MRM: Which is best option?

All,

For XML to MRM conversion, I am hearing two approaches:

Option A: Create Message set with XML and CWF layers
Define DTD.
Import DTD to message set.
In Compute node, copy entire message. Mention the message format as 'CWF'

Option B: Create Message set with CWF layer
Create Cobol copybook
Import cobol copybook
In compute node write a big ESQL to copy fields from XML to CWF

Now, I want to know which of the above options are good, if my incoming XML message has some repeating elements?
What are pros and cons of both the approaches?

Please reply.

Regards,
Radha
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Wed Oct 30, 2002 5:40 pm    Post subject: Reply with quote

Jedi Knight

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

Radha,

XML to CWF using MRM works very well only if both the structures are identical, but you couldn't use this solution to transform XML to CWF if the structures are different. For example, an XML element repeats 5 times but in a COBOL structure you have to sum them and send them as a single value. For such transformations you will have to write ESQL code to do mapping.
_________________
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 » Which is best option?
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.