So I am parsing the input message on MQInput node as BLOB since XMLNSC parser doens't support to parse an XML message with two root elements as per standard. In the next compute node, I am using the following code to convert blob data into char.
Code:
SET Environment.Variables.InputMsg = CAST(InputRoot.BLOB.BLOB AS CHAR CCSID InputRoot.Properties.CodedCharsetId);
From the environment variable: InputMsg, how do I split the whole input message into two separate messages like below:
Please help me how effectively we can implement this. One option I can think of is by taking positions of </MasterHeader> and code accordingly. Is there any other simpler ways to achieve this?
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