|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
how to create a message consisting a concatenation of MRM me |
« View previous topic :: View next topic » |
Author |
Message
|
Cliff |
Posted: Fri Mar 08, 2002 5:58 am Post subject: |
|
|
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 |
|
 |
Cliff |
Posted: Fri Mar 08, 2002 8:02 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|