clearBody procedure

Clears the body of a message, keeping header and property values unchanged, and changes the mode of a message from read-only to write-only mode.

Syntax

PROCEDURE clearBody.

Applies to

Message objects

Notes

clearBody procedure transfers a StreamMessage, TextMessage, XMLMessage, BytesMessage, TempTableMessage, or DataSetMessage to write-only mode.

See also

clearProperties procedure

For more information, see the Accessing message properties.