The Properties tree has its own correlation name, Properties, and you must use this in all ESQL statements that refer to or set the content of this tree.
The fields in the Properties tree contain values that define the characteristics of the message. For example, the Properties tree contains a field for the message domain, and fields for the encoding and CCSID in which message data is encoded. For a full list of fields in this tree, see Data types for elements in the Properties subtree.
You can interrogate and update these fields using the appropriate ESQL statements. If you create a new output message in the Compute node, you must set values for the message properties.
If you use the Compute node to generate a new output message, you must set its properties in the Properties tree. The output message properties do not have to be the same as the input message properties.
For example, to set the output message properties for an output MRM message, set the following properties:
Property | Value |
---|---|
Message Domain | MRM |
Message Set | Message set identifier |
Message Type | Message name1 |
Message Format | Physical format name2 |
Notes:
|
Use the following ESQL. This code shows the use of the default physical layer names. You must use the names that match your model definitions. If you specify incorrect values, the broker fails with message BIP5431.
SET OutputRoot.Properties.MessageSet = 'DH06JOE06S001'; SET OutputRoot.Properties.MessageType = 'm_mess101'; SET OutputRoot.Properties.MessageFormat = 'XML1'; -- or -- SET OutputRoot.Properties.MessageFormat = 'CWF1'; -- or -- SET OutputRoot.Properties.MessageFormat = 'TDS1';
If you want to set the output message domain, you can code ESQL statements that refer to the required domain in the second qualifier of the SET statement, the parser field, rather than set the domain property. For example, the ESQL statement:
SET OutputRoot.MRM.Field1 = 'field1 data';
sets the domain to MRM.
The ESQL statement:
SET OutputRoot.XML.Field1 = 'field1 data';
sets the domain to XML.
Do not specify more than one domain in the ESQL for any single message. However, if you use PROPAGATE statements to generate several output messages, you can set a different domain for each message.
For information about the full list of elements in the Properties tree, see Data types for elements in the Properties subtree.
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ac06015_ |