-- 将msgChar从开始截取字符串,获得xml格式的字符串
DECLARE submsg CHAR SUBSTRING(msgChar FROM POSITION('' IN msgChar));
-- 将xml格式的字符串放入Environment中的xml对象格式
CREATE LASTCHILD OF Environment.MessageInfo.xmlContent Domain('XMLNSC') PARSE (CAST(submsg AS CHARACTER CCSID InputRoot.Properties.CodedCharSetId) Encoding InputRoot.Properties.Encoding CCSID InputRoot.Properties.CodedCharSetId);