You can use implicit or explicit null processing to set the value of an element to NULL in an output message.
To set a value of an element in an output message, you normally code an ESQL statement similar to the following:
SET OutputRoot.MRM.Elem2.Child1 = 'xyz';
or its equivalent statement:
SET OutputRoot.MRM.Elem2.Child1 VALUE = 'xyz';
If you set the element to a non-null value, these two statements give identical results. However, if you want to set the value to null, these two statements do not give the same result:
Setting a complex element to NULL deletes that element and all its children.