Transferring data from messages to files
The message-to-file feature of WebSphere® MQ File Transfer Edition enables you to transfer data from one or more messages on a WebSphere MQ queue to a file, a data set, or a user file space. If you have an application that creates or processes WebSphere MQ messages you can use the message-to-file capability of WebSphere MQ File Transfer Edition to transfer these messages to a file on any system in your WebSphere MQ File Transfer Edition network.
To perform file-to-message and message-to-file transfers both the source and destination agent of the transfer must be Version 7.0.3 or later. For information about file-to-message transfers, see Transfer data from files to messages.
The source agent for a message-to-file transfer cannot be a protocol bridge agent or a Connect:Direct® bridge agent.
You can transfer WebSphere MQ message data to a file. The following types of message-to-file transfer are supported:
- From a single message to a single file
- From multiple messages to a single file
- From multiple messages with the same WebSphere MQ group ID to a single file.
- From multiple messages to a single file, including a text or binary delimiter between the data from each message written to the file.
If you are transferring files from large messages, or many small messages, you might need to change some WebSphere MQ or WebSphere MQ File Transfer Edition properties. For more information about, see Guidance for setting WebSphere MQ attributes and WebSphere MQ File Transfer Edition properties associated with message size.