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 » Reg: Concatenate Fixed String with XML Message

Post new topic  Reply to topic
 Reg: Concatenate Fixed String with XML Message « View previous topic :: View next topic » 
Author Message
bhanuprakashravilla
PostPosted: Fri Jan 16, 2015 12:42 am    Post subject: Reg: Concatenate Fixed String with XML Message Reply with quote

Newbie

Joined: 08 Feb 2013
Posts: 7

Hello All

I have a requirement that i need to send output message like below i.e..,

Fixed string message + xml message to output queue .

Now i have already FS and xml saved at two diff environment variables.

Code:
RSENDPODMSGBSM       000001PODAIRAIB000000001<POD>
      <CASE>VYS61</CASE>
      <ORDERINFO>
         <CUSTNO>300321</CUSTNO>
         <ORDNO>00530355</ORDNO>
         <OLINE>001</OLINE>
         <OQTY>00000025000</OQTY>
         <OCUSTREF>00001905953</OCUSTREF>
         <OCASE>VYS61</OCASE>
         <OEXPEDITION>G57604</OEXPEDITION>
      </ORDERINFO>
      <ORDERINFO>
         <CUSTNO>300321</CUSTNO>
         <ORDNO>00530355</ORDNO>
         <OLINE>002</OLINE>
         <OQTY>00000020000</OQTY>
         <OCUSTREF>00001905954</OCUSTREF>
         <OCASE>VYS62</OCASE>
         <OEXPEDITION>G57605</OEXPEDITION>
      </ORDERINFO>
      <DELSTATUS>DELOK</DELSTATUS>
      <DELSTATUSDESCR>Parcel Delivered</DELSTATUSDESCR>
      <DELDATE>20141103</DELDATE>
      <SIGNNAME>HYDRO ALUMINIO PORTALEX SA ENG. MAR</SIGNNAME>
      <DEL_ADDR1>ADDR1</DEL_ADDR1>
      <DEL_ADDR2>ADDR2</DEL_ADDR2>
      <DEL_ADDR3>ADDR4</DEL_ADDR3>
      <REMARKS>REMARKS</REMARKS>
      <CARRIER>ESSERS</CARRIER>
</POD>


Could anyone please help me how to achieve this.

Looking forward for your Help.
Thanks in Advance.

Regards
Bhanu
Back to top
View user's profile Send private message Send e-mail
mgk
PostPosted: Fri Jan 16, 2015 4:30 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1638

You can do this if you are sending a message to MQ by using two parsers. A BLOB parser for the Character string, and XMLNSC for the XML message. In a "transform" node create a tree that is like this:

Properties -> MQMD -> BLOB -> XMLNSC

Then you should see one message sent to the queue, with the data from both parsers.

Kind regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
bhanuprakashravilla
PostPosted: Wed Jan 21, 2015 3:23 am    Post subject: Reply with quote

Newbie

Joined: 08 Feb 2013
Posts: 7

Thank you very much MGK its working fine....!
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 » Reg: Concatenate Fixed String with XML Message
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.