Example: Transferring from a queue to a single file
You can specify a WebSphere® MQ queue as the source of a file transfer by using the -sq parameter with the fteCreateTransfer command.
About this task
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_QUEUE
The 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.