5.6.4 WRITE
The WRITE command saves the internally stored Unicode content to the specified file.
The internal Unicode content is received from a Data Queue or Message Queue using the JSMDQGET and JSMMQGET programs.
Refer to 5.2.11 MQSeries Built-In Functions for details of the MQSeries Built-In Functions.
Syntax:
Command |
Keyword |
Value |
Developer notes |
WRITE |
FILE |
value |
Required. File path. |
ENCODING |
value |
Optional. Default is UTF8. |
Example
WRITE FILE(/folder/file.xml)