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 » MRM TO XML WITH MULTIPLE RECORDS

Post new topic  Reply to topic
 MRM TO XML WITH MULTIPLE RECORDS « View previous topic :: View next topic » 
Author Message
chanduy9
PostPosted: Mon Feb 18, 2002 8:46 am    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2001
Posts: 177
Location: USA

HI,
can anybody suggest how to convert multiple records( number of records vary)f1lat file from MRM to XML.
Thanks in advance.
Chandra.
Back to top
View user's profile Send private message
Segs
PostPosted: Tue Feb 19, 2002 8:21 am    Post subject: Reply with quote

Voyager

Joined: 04 Oct 2001
Posts: 78
Location: Zurich Financial Services

Without knowing more detail about the file coming in, it's difficult to help, but you may be able to create an occurs depending structure within a COBOL copybook and import this to the MRM. I posted an example about this earlier this year, you should be able to find the link by searching for occurs or invoice. If this doesn't help please reply.

Thanks

Ken...
Back to top
View user's profile Send private message Send e-mail
chanduy9
PostPosted: Tue Feb 19, 2002 9:00 am    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2001
Posts: 177
Location: USA

Hi,
my incoming file is flatfile with multiple records, i have to find out the number of records in that file, then i have to use occurs depending on...i am able to find the number of records..but when i am reading the input file i am unable to read the number of records which i have calculated, i want to add this number to the incoming file, then i can use that number for occurs depending..but i am unable to read the number to the incoming file.
Thanks,
Chandra.
Back to top
View user's profile Send private message
ksilpaa
PostPosted: Thu Feb 28, 2002 2:10 pm    Post subject: Reply with quote

Novice

Joined: 17 Dec 2001
Posts: 10

This is very easy to do think you would get it.




_________________
Silpa
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon Mar 04, 2002 3:11 pm    Post subject: Reply with quote

Jedi

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

Chandra,

You could use NEON and the NEONMSG domain. That has the ability to parse a message containing an unknown number of repeats.

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
Paul D
PostPosted: Thu Mar 14, 2002 1:24 pm    Post subject: Reply with quote

Master

Joined: 16 May 2001
Posts: 200
Location: Green Bay Packer Country

I did a similar thing using the MQGet node to combine multiple input records into one. I was trying to combine records based in a set of key fields. I'd sort these and then import them into my input queue. My flow used the MQGet node and would put and get messages to a temp queue until I hit the "break", in that case, I'd write out the summarized record into the real output queue. That message in the temp queue had an XML array of the transactions I was accumulating. What you really need is a temp table type area. You could use a database table, a queue, or even memory like the MQPostit node uses. I used a queue. I had a End of file message at the end to mark the end of processing and release the last batch/aggegrated message.
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 » MRM TO XML WITH MULTIPLE RECORDS
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.