5.33.7 WRITE
The WRITE command serializes the document object in preparation for the MQ put or DQ put commands.
The MQ put and or DQ put can be called multiple times sending the same content to different queues.
Syntax:
Command
|
Keyword
|
Value
|
Developer notes
|
WRITE
|
INDENT
|
*YES
|
Optional. Indent XML content.
|
*NO
|
Default.
|
INDENT-AMOUNT
|
value
|
Optional. Indent XML amount. Default is 0. If the amount is not zero then indent is enabled.
|
DOCTYPE
|
value
|
Optional. Include XML <!DOCTYPE> element.
|
PUBLIC
|
value
|
Conditional. The optional public component of the XML DOCTYPE declaration.
|
OMIT-DECLARATION
|
*YES
|
Optional. Omit the XML declaration.
|
*NO
|
Default.
|
BINDTRACE
|
*YES
|
Optional. Trace the outbound bind result.
|
*NO
|
Default.
|
FILTER
|
|
Optional. See FILTER.
|
|
Example
WRITE INDENT(*YES) BINDTRACE(*YES)