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 » how to create a message consisting a concatenation of MRM me

Post new topic  Reply to topic
 how to create a message consisting a concatenation of MRM me « View previous topic :: View next topic » 
Author Message
Cliff
PostPosted: Fri Mar 08, 2002 5:58 am    Post subject: Reply with quote

Centurion

Joined: 27 Jun 2001
Posts: 145
Location: Wiltshire

I have an input message in the NEONMSG domain (from an SAP iDoc output from the NEON SAP adapter) representing an invoice. I need to output a set of fixed-format records concatenated together into a single output message to feed a legacy back-end system; each single output message represents a single invoice. The number of records to be concatenated is variable, determined from the content of the incoming message. A back end process will take the single message and write the set of records to a file for processing.

My idea was that each of the record types can be represented as a message within the MRM, so I can get MQSI to construct a nice output bitstream, adding trailing spaces (all fields are character) etc. and it should be possible to do eveything within a single compute node.

No. Short of defining an output format in the NEON database, which we DON'T want to do, I have found no way of doing this.

I would dearly love to hear from anyone who knows how to do this! It's such a basic EAI function and I'm amazed it's proving so difficult.

Our environment is MQSI V2.0.2 CSD2, MQ V 5.2, developing on Win2K SP2 for (eventuallly) a broker on a Solaris box.

Thanks in advance - Cliff
Back to top
View user's profile Send private message Send e-mail
Cliff
PostPosted: Fri Mar 08, 2002 8:02 am    Post subject: Reply with quote

Centurion

Joined: 27 Jun 2001
Posts: 145
Location: Wiltshire

Sorted.
I created a message with a set of integer count fields at the front, followed by the other compound types representing each record type, made them mandatory & repeating counted on the value of the count fields. Constructed my output message in a compute node, RCD'd it to a BLOB then in another compute node created the output message as a substring of the input message, thus chopping off the count fields.
Hey presto, output message as desired. And no messing about with NEON stuff!

Cheers - Cliff
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » how to create a message consisting a concatenation of MRM me
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.