How to configure IBM MQ FT for file transfer

IBM MQ has support utility for file transfer . It request setup of configurations . Below are the high level objects or steps required for it .

Create a queue manager named FTQM.

crtmqm FTQM

Start the queue manager.

strmqm FTQM

Configure queue manager FTQM as the coordination queue manager for the IBM MQ Managed File Transfer.

fteSetupCoordination -coordinationQMgr FTQM

Use the MQSC interface to define the IBM MQ objects that are required to make queue manager FTQM a coordination queue manager.

runmqsc FTQM < ..\mqft\config\FTQM\FTQM.mqsc

Configure queue manager FTQM as the command queue manager for the IBM MQ Managed File Transfer.

fteSetupCommands -connectionQMgr FTQM

Create source agent required for file transfer.

fteCreateAgent -agentName SAGENT -agentQMgr FTQM

Create the object definitions that are required for an agent, SAGENT, on queue manager FTQM.

fteDefine -t agent SAGENT | runmqsc FTQM

Create destination agent required for file transfer.

fteCreateAgent -agentName DAGENT -agentQMgr FTQM

Create the object definitions that are required for an agent, DAGENT, on queue manager FTQM.

fteDefine -t agent DAGENT | runmqsc FTQM

Start source and destination agent.

fteStartAgent SAGENT

fteStartAgent DAGENT

Create a file transfer request to transfer all .txt file from input to output folder.

fteCreateTransfer -sa AGENT1 -da AGENT2 -dd C:\output C:\input*.txt

Related Posts

Leave a Reply

Your email address will not be published.