Verify the scenario by transferring a file from 4690 OS to head office
Use this scenario to demonstrate using a IBM® MQ Managed File Transfer resource monitor to transfer a file from the 4690 OS store controller in a retail store to a computer at a head-office site.
In the previous topic, Configuring the agent on 4690 OS to monitor a directory, you configured the retail store agent to monitor a directory. When files are placed into this directory, they are transferred to the head-office computer. These steps verify that your topology is working correctly by creating a file in the monitored directory, and checking that it is transferred to the head-office computer.
- Create a file, for example C:\MONITOR\MYFILE.TXT in
the directory that is being monitored on COMPUTER2.
The agent on the 4690 OS system (SAGENT) automatically transfers this file to the head-office computer.echo A big hello to everyone at head-office > C:\MONITOR\MYFILE.TXT
- To view information about the file transfer operation, started by creating a file in the monitored directory, click Managed File Transfer in the IBM MQ Explorer navigation view, expand hoffQM, and select Transfer Log.
- You can also inspect the file system of COMPUTER1 manually to confirm that the new file exists, for example: C:\end\myfile.txt.20130307103836255
What to do next
- Learn about creating resource monitor definitions from the command line, see Resource monitoring.
- Find out how IBM MQ Managed File Transfer can log managed file transfer activities to a database or a file system, see Configuring an Managed File Transfer logger.
- Read about the more general capabilities of IBM MQ Managed File Transfer, see IBM MQ Managed File Transfer introduction.