Example: Transferring from a queue to a single file
We can specify an IBM MQ queue as the source of a file transfer by using the -sq parameter with the fteCreateTransfer command.
The source data is contained in three messages on the queue START_QUEUE. This queue must be on the source agent's queue manager, QM_NEPTUNE.
Procedure
Type the following command:fteCreateTransfer -sa AGENT_NEPTUNE -sm QM_NEPTUNE -da AGENT_VENUS -df /out/three_to_one.txt -sq START_QUEUEThe data in the messages on the queue START_QUEUE is written to the file /out/three_to_one.txt on the system where AGENT_VENUS is running.