The READ command reads the specified file and internally stores the content in Unicode form.

The internal Unicode content is sent to a Data Queue or Message Queue using the JSMDQPUT and JSMQPUT programs.

Refer to 5.2.11 MQSeries Built-In Functions for details of the MQSeries Built-In Functions.

Syntax:

Command

Keyword

Value

Developer notes

READ

FILE

value

Required. File path.

ENCODING

value

Optional. Default is UTF8.

Example

    READ FILE(/folder/file.xml)

  • No labels