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 » General Discussion » Sequence of record in message is not fixed.

Post new topic  Reply to topic
 Sequence of record in message is not fixed. « View previous topic :: View next topic » 
Author Message
narki
PostPosted: Sun Jun 25, 2006 6:09 pm    Post subject: Sequence of record in message is not fixed. Reply with quote

Acolyte

Joined: 19 Dec 2005
Posts: 67

I have a design issue,
I need to transform CobolCopy book to an XML. The cobol copy book whivh I will be getting will be a set of records
like R1......R2......T1......P1........... Each record is of 3500 bytes. First two character will represent record type.
These record can occurs in any order and lenght of the message will vary. Ths cobol copybook need to be tansaformed into XML filed by field basis.
Similarly I need to transform XML to cobol copy book.

One solution come to my mind is as follows
1. creat a message for each record in message set.
2. Create a function for each record type
3. In the function pass this record and Outputroot . Use the CREATE statement with the DOMAIN and PARSE clauses to record.
4. Finally use set statement for set outgoung XML messages.

I have to write alsmost 35 function for this as I will be geting n35 diffrent kind of records. Similrly I have to write 35 diffent function for converting XML to copybook

I would like to know is there any better solution to this us present. Please share you knowledge for this problem.
Back to top
View user's profile Send private message
sysmq
PostPosted: Mon Jun 26, 2006 5:31 am    Post subject: Reply with quote

Novice

Joined: 04 Jun 2006
Posts: 22

Can't you use just one flow and use the compute node or filter node to route the message to different nodes or mapping nodes which will reformat the messag ?
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 » General Discussion » Sequence of record in message is not fixed.
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.